Skip to content

Release Process

Yeray Borges edited this page Nov 6, 2025 · 1 revision

The following are the instructions for releasing a new version of wildfly-installation-manager-api:

  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. Verify the artifacts were correctly deployed in Nexus3:

    1. Delete from your local maven cache the version you have deployed to Nexus so it can be forced to be downloaded again:

      find $HOME/.m2/repository/org/wildfly -name "*installation-manager*" -type d -exec rm -rf {} \;
    2. Test the dependent projects with -Pstaged-releases maven profile activated, so the recently staged version can be retrieved from Nexus staging repos.

    3. If the verification fails, delete the deployed tag and start over again:

      mvn nxrm3:staging-delete
  6. Move the artifacts to the release repo.

    mvn nxrm3:staging-move
  7. Tag the current branch, e.g:

    git tag 2.0.0.Final
  8. Bump the project version to the next one by adding a -SNAPSHOT suffix to the desired version. E.g 2.0.1.Beta1-SNAPSHOT

  9. Commit the change with the following message structure:

    git commit -am "Next is 2.0.1.Beta1"
  10. Push the upstream main branch and the tag:

    git push upstream main 2.0.0.Final
  11. Enjoy an adult beverage of your choice.

Clone this wiki locally