Skip to content

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:

  1. Merge your changes and rebase on top of the latest upstream.
  2. Bump the project version to the desired one by removing the -SNAPSHOT suffix.
  3. 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"
    
  4. Build and deploy the project to Nexus by enabling the jboss-release maven profile:
    mvn clean deploy -Pjboss-release
    
  5. Navigate to https://repository.jboss.org/nexus/index.html and close the staged repository
  6. Test the dependent projects with -Pstaged-releases maven profile activated, so the recently staged version can be retrieved from Nexus staging repos.
  7. Release the staged repository in Nexus.
  8. Tag the current branch, e.g:
    git tag 2.0.0.Final
    
  9. Bump the project version to the next one adding a -SNAPSHOT suffix to the desired version. E.g 2.0.1.Beta1-SNAPSHOT
  10. Commit the change with the following message structure:
    git commit -am "Next is 2.0.1.Beta1"
    
  11. Push the upstream main branch and the tag:
    git push upstream main --tags
    
  12. Enjoy an adult beverage of your choice.
Clone this wiki locally