To release the library, follow these steps:
- Push all changes to the
devbranch. - Wait until the CI action has successfully finished.
- Create a new branch from
devand name itrelease/x.x.x. - Change the version in the following files from
HEAD-SNAPSHOTtox.x.x:- pom.xml
- Nalu.java
- NaluTest.java
- Templates (if applicable)
- Commit and push the changes with the comment:
prepare release x.x.x. - Create a pull request to merge the
release/x.x.xbranch intomainand complete the merge. - Release the new version (e.g., via Nexus).
- Create a new branch from
mainand name itsnapshot. - Change the version in the same files (pom.xml, Nalu.java, NaluTest.java, Templates) from
x.x.xback toHEAD-SNAPSHOT. - Commit and push the changes with the comment:
start next iteration. - Merge the
snapshotbranch intodev. - Delete the
snapshotbranch.