Skip to content

Instantly share code, notes, and snippets.

@chengfang
Created June 14, 2023 18:53
Show Gist options
  • Save chengfang/69197dc5e8de569c32d173691ce20d74 to your computer and use it in GitHub Desktop.
Save chengfang/69197dc5e8de569c32d173691ce20d74 to your computer and use it in GitHub Desktop.
Project release process

Instructions for releasing a new version of wildfly-discovery:

Prepare and perform the artifact deployment in local repo:

cd wildfly-discovery

# 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
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 wildfly-discovery 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 wildfly-discovery 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment