Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Firstly, create a branch for the version you are about to release from master, ie `release/3.0.x`.
    • If releasing a bugfix/hotfix, then create branch from relevant version tag: `git checkout -b release_3.0.1 v3.0.0`
    • Then cherry pick relevant commits into the release branch: `git cherry-pick <commit hash>` and check they still pass integration tests.
  • Then update the changelog `NEWS.md` file to reflect all JIRA issues solved since the previous release.
    • Make sure to remove (IN PROGRESS) from relevant section, and replace with today's date.
    • Also ensure you remove `-SNAPSHOT` from the version number if it was there previously.
When you have a parent issue and subtasks, they should appear in the changelog in a nested form, like so:```
Info
titleChangelog example
* ERM-904 Update tooling and framework
* ERM-906 Update licenses to Grails 4
* ERM-909 Update docker image to Java 11

...

  • Commit changelog changes and push up to github
    • If doing a bugfix, first increment version number by 1 on patch, ie 3.0.0 -> 3.0.1, then raise a PR and merge to long life release branch, ie release_v3.0.x.
    • DO NOT MERGE BACK TO MASTER
  • Go to your branch on github, select "releases" on the left hand side and "draft new release". Make sure the Target is set to your release branch, and the tag is of the form `vx.y.z`, ie `v3.0.0` or `v5.2.1` etc. Give the release a name, `Version 3.0.0` and fill in the explanation with the changes you already made to the changelog, along with the header:

...

Info
titleRelease information
## 3.0.0 2020-10-14
* ERM-1046 Non-phrase searching support for licenses
* ERM-967 Add "Note" to Organisation link in Licenses
* ERM-904 Update tooling and framework
   * ERM-906 Update licenses to Grails 4
   * ERM-909 Update docker image to Java 11
* ERM-828 Add support for "Alternative name" for licenses
* ERM-975 Licenses: Use /organizations/ instead of /organizations-storage/
* ERM-742 Custom properties: Backend validation not working
```for example. Then click "publish release".

...

find your new tag, and select "Build now" from the dropdown menu next to the tag name. (Alternatively select tag and then "Build now" from the menu on the left hand side of the screen)

...


Info
titleSlack release message
mod-licenses v3.0.0 released https://github.com/folio-org/mod-licenses/releases/tag/v3.0.0
```


with a link to the github tagged release page.

...