|
|
## Procedure to create a release
|
|
|
|
|
|
* switch to a new branch (for example `prepare_v1_0_0`)
|
|
|
* change version to the target version without `-SNAPSHOT`
|
|
|
* `mvn versions:set -DnewVersion=1.0.0`
|
|
|
* commit and push the modification of the pom.xml files (currently 4 files)
|
|
|
* wait for the CI to build the artefacts, download to a temp folder, unzip and get the `StorSimUi-1.0.0.jar` file. Place this file in `website/download/releases/1.0.0` (replace 1.0.0 by your actual version)
|
|
|
* commit and push (note: the jar will not be deployed to the web site yet, because this is still in a branch, and only the `master` branch contributes to the deployed site.)
|
|
|
* go to the gitlab web site, create a tag (https://gitlab.inria.fr/adt-mochy/mochy/-/tags/new).
|
|
|
* Use `v1.0.0` as name,
|
|
|
* indicates the branch (`prepare_v1_0_0`),
|
|
|
* put some message
|
|
|
* *add a release note* with some description of the releas a link to the url that will contain the binaries when deployed (ie. https://adt-mochy.gitlabpages.inria.fr/mochy/download/releases/1.0.0 )
|
|
|
* go to https://gitlab.inria.fr/adt-mochy/mochy/-/releases to edit the release and add an asset `package` linking the release with the `https://adt-mochy.gitlabpages.inria.fr/mochy/download/releases/1.0.0` folder on the web site.
|
|
|
* Edit the web site page to indicate the new release in the download section
|
|
|
|
|
|
|
|
|
* change version to the future version *with* `-SNAPSHOT`
|
|
|
* `mvn versions:set -DnewVersion=1.0.1-SNAPSHOT`
|
|
|
* commit and push
|
|
|
|
|
|
* Merge the prepare branch into master branch (**without squashing** in order to maintain the tags). This will also publish to the web.
|
|
|
|