From 8cb590a037079b108b035c8c4d23ced0b543a529 Mon Sep 17 00:00:00 2001 From: "guilhem.carron" <gcarron@grandlyon.com> Date: Mon, 9 May 2022 17:11:23 +0200 Subject: [PATCH] Add release documentation --- docs/ecolyo/application/release.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/ecolyo/application/release.md b/docs/ecolyo/application/release.md index 90bc6d1..d2cd7ef 100644 --- a/docs/ecolyo/application/release.md +++ b/docs/ecolyo/application/release.md @@ -26,14 +26,27 @@ The commit contains the following structural elements, to communicate intent to ## standard-version -Standard-version is librairie javascript that allow to handle easly tags and changelog file. +Standard-version is librairy javascript that allow to handle easly tags and changelog file. Just run the following command in order to create a release tag, bump package.json version and upadte changelog file. +First manually bump the manifest version (for cozy apps) in manifest.webapp and use the following commit format : 'bump manifest version to X.X.X' +Then launch the following command : + ```bash yarn run release -- --release-as X.X.X # replace with version number (ex: 1.2.0) ``` +Once it is done execute to push the tagged commit : + +``` +git push --follow-tags origin dev +``` + +Don't forget to add release notes in gitlab in *yourProject -> repository -> tags -> edit release notes * +You can copy paste the last changelogs in the release notes. + + ## Usefull links [Conventional commit doc](https://www.conventionalcommits.org/en/v1.0.0/) -- GitLab