diff --git a/docs/ecolyo/application/release.md b/docs/ecolyo/application/release.md index 90bc6d151cc47dc8808d4404b29a142c167f47f8..d2cd7ef332f89f1f2cf300baa6ed25eedfee1ee3 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/)