Skip to content

Project release process

Cheng Fang edited this page Jun 14, 2023 · 2 revisions

Instructions for releasing a new version of jboss-ejb-client:

Prepare and perform the artifact deployment in local repo:

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

Record the release in github

Record the release in JIRA

  • 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

Prepare 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