-
Notifications
You must be signed in to change notification settings - Fork 133
Project release process
Cheng Fang edited this page Jun 14, 2023
·
2 revisions
Instructions for releasing a new version of jboss-ejb-client
:
cd jboss-ejb-client
# make sure local repo is up to date and clean
export VERSION=<NEW_VERSION, e.g., 1.0.0.Final>
mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
git add .
git commit -m 'Prep $VERSION release'
git tag -a -m $VERSION $VERSION
mvn clean install
git push upstream main $VERSION # Note: the branch name may be different than main
mvn install deploy -Pjboss-release
Login to JBoss Nexus to verify and publish the release
- Navigate to
Staging Repositories
- Find the newly created
jboss-ejb-client
staging repository - Verify the content
- Close the staging repository
- Refresh the list of staging repositories
- Release the staging repository
- Navigate to jboss-ejb-client github tags
- Select the current release tag
- Click
Create release from tag
- Create the release notes, with the option of announcing the release in Discussions
- Navigate to jboss-ejb-client JIRA
- Go to
Releases
page - Edit the new release as released, and make sure all JIRA issues fixed in this release have the correct
Fixed in release
value - Add a new release for the next development iteration
mvn versions:set -DnewVersion=<NEXT_VERSION, e.g., 1.0.1.Final-SNAPSHOT> -DgenerateBackupPoms=false
git add .
git commit -m 'Next is 1.0.1.Final'
git push upstream main # Note: the branch name may be different than main