- Update documentation (
RELEASE-NOTES.md
,README.md
, version numbers insrc/site/
) - Clean build:
mvn clean install
- RAT checking:
mvn apache-rat:check
- Prepare the release:
mvn release:prepare -DreleaseVersion=0.4.0 -DdevelopmentVersion=0.5.0-SNAPSHOT -DautoVersionSubmodules=true
- Perform the release:
mvn release:perform -Prelease
- Close the staging repository at https://repository.apache.org/#stagingRepositories
- Push the code:
git push
and taggit push --tags
- Cast the
[VOTE]
mail to dev@commons
Notice that the maven-release-plugin
is configured to use the local git repository as well as not push changes
to origin
. Therefore the process can be reverted (e.g., git reset HEAD~1
) at any time before the sixth step.
Acknowledgements to the Marmotta's release process that heavily inspired this one.