-
-
Notifications
You must be signed in to change notification settings - Fork 4
Release Process
The following are the instructions for releasing a new version of wildfly-installation-manager-api:
-
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-releasemaven profile:mvn clean deploy -Pjboss-release
-
Verify the artifacts were correctly deployed in Nexus3:
-
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 {} \;
-
Test the dependent projects with -Pstaged-releases maven profile activated, so the recently staged version can be retrieved from Nexus staging repos.
-
If the verification fails, delete the deployed tag and start over again:
mvn nxrm3:staging-delete
-
-
Move the artifacts to the release repo.
mvn nxrm3:staging-move
-
Tag the current branch, e.g:
git tag 2.0.0.Final
-
Bump the project version to the next one by adding a
-SNAPSHOTsuffix 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 2.0.0.Final
-
Enjoy an adult beverage of your choice.