Making a new ANNIS release
Introduction
You must have mdBook installed to make a release. Otherwise the documentation can't be created.
Release Process
Initialization phase
- Start the release process by executing
mvn gitflow:release-start
for a regular release (branched fromdevelop
) ormvn gitflow:hotfix-start
for a hotfix that is branched frommaster
. The command will ask you for the new version number, use semantic versioning. - Add new changelog entries, if some important information is missing add an entry to the changelog. When the changelog is up-to-date, execute
mvn -N keepachangelog:release cff:create cff:third-party-folder
and commit your changes.
This will also update the citation file (CITATION.cff
) and the contents of the THIRD-PARTY
folder.
Testing cycle
- Build the complete project with tests.
mvn clean install
- Do manual tests. If you have to fix any bug document it in the issue tracker, update the changelog and start over at step 1. If no known bugs are left to fix go to the next section.
Finish phase
- Finish the release by executing either
mvn gitflow:release-finish
for regular releases ormvn gitflow:hotfix-finish
for hotfixes. - Release the staging repository to Maven Central with the Nexus interface: https://oss.sonatype.org/
- Create a new release on GitHub including the changelog. Upload the binaries from Maven repository to GitHub release as well.
A new version of the User and Developer Guide will be deployed by the GitHub Actions CI.