-
Notifications
You must be signed in to change notification settings - Fork 6
Release process
Yeray Borges edited this page Apr 19, 2024
·
1 revision
The following are the instructions for releasing a new version of jboss-common-beans:
- Merge your changes and rebase on top of the latest upstream.
- Bump the project version to the desired one by removing the -SNAPSHOT suffix.
- Commit the change with the following message structure, for example, if you are releasing 2.0.0.Final:
git commit -am "Prepare for 2.0.0.Final release"
- Build and deploy the project to Nexus by enabling the
jboss-release
maven profile:mvn clean deploy -Pjboss-release
- Navigate to https://repository.jboss.org/nexus/index.html and close the staged repository
- Test the dependent projects with -Pstaged-releases maven profile activated, so the recently staged version can be retrieved from Nexus staging repos.
- Release the staged repository in Nexus.
- Tag the current branch, e.g:
git tag 2.0.0.Final
- Bump the project version to the next one adding a
-SNAPSHOT
suffix to the desired version. E.g2.0.1.Beta1-SNAPSHOT
- Commit the change with the following message structure:
git commit -am "Next is 2.0.1.Beta1"
- Push the upstream main branch and the tag:
git push upstream main --tags
- Enjoy an adult beverage of your choice.