In this example we are releasing version 2.0.0
- Check out
release-2.x
- run
mvn versions:set -DnewVersion=2.0.0
- modify
docs/antora.yml
and change the version toversion: '2.0.0'
- commit changes
git commit -a -m "v2.0.0-SNAPSHOT -> v2.0.0
- tag the release
git tag v2.0.0
- push changes
git push && git push --tags
- run
mvn versions:set -DnewVersion=2.0.1-SNAPSHOT
- modify
docs/antora.yml
and change the version toversion: '2.0.1-SNAPSHOT'
- commit changes
git commit -a -m "v2.0.0 -> v2.0.1-SNAPSHOT
- push changes
git push