Skip to content
Snippets Groups Projects
Commit c9bf581a authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

update release.md

parent ff68e993
No related branches found
No related tags found
1 merge request!31update release.md
...@@ -13,16 +13,19 @@ Make sure that: ...@@ -13,16 +13,19 @@ Make sure that:
- you are on the right branch (dev or master) - you are on the right branch (dev or master)
- your branch is up to date - your branch is up to date
- you node modules are up to date - you node modules are up to date
- the prod build is successful
## Bump versions, Tag and create changelog ## Bump versions, Tag and create changelog
### manifest.webapp ### manifest.webapp
Checkout on the branch `dev` and bump the version number in `manifest.webapp`. Use a similar commit : _"bump manifest to X.Y.Z"_ Checkout on the branch `dev` and bump the version number in `manifest.webapp`.
!!! warning !!! warning "Commit but don't push"
Commit but don't push so pipelines are not yet triggered. So pipelines are not yet triggered.
Use a message such as _"bump manifest to X.Y.Z"_
You don't have to change the version inside `package.json`, standard-version will do it. You don't have to change the version inside `package.json`, standard-version will do it.
...@@ -40,9 +43,9 @@ yarn release 2.X.Y ...@@ -40,9 +43,9 @@ yarn release 2.X.Y
yarn standard-version 2.X.Y yarn standard-version 2.X.Y
``` ```
:warning: Do not push with VS Code :warning: Do not push with VS Code :warning:
The script will give you a command to push tags on the remote. (something like this, depending on the branch) The script will give you a command to push tags on the remote (depending on the branch).
```sh ```sh
git push --follow-tags origin dev git push --follow-tags origin dev
...@@ -85,11 +88,11 @@ After pushing your tag, the pipelines should be triggered. ...@@ -85,11 +88,11 @@ After pushing your tag, the pipelines should be triggered.
Verify that the **build** branch is up to date [Repository > Branches](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo/-/branches) Verify that the **build** branch is up to date [Repository > Branches](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/ecolyo/-/branches)
!!! note "Manually push build" !!! note "You can also push the build manually"
```sh ```sh
yarn build:browser yarn build:browser
yarn deploy #prod config yarn deploy
``` ```
## Publish build branch to Cozy ## Publish build branch to Cozy
...@@ -110,7 +113,9 @@ yarn cozy-app-publish \ ...@@ -110,7 +113,9 @@ yarn cozy-app-publish \
--space $COZY_SPACE --space $COZY_SPACE
``` ```
More information at [cozy-app-publish](https://docs.cozy.io/en/cozy-app-publish/#manual-usage-not-recommended) You can now ping cozy so they ship the version.
More information at [cozy-app-publish](https://docs.cozy.io/en/cozy-app-publish/#manual-usage-not-recommended).
## Update master ## Update master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment