Skip to content

Project release procedure

Tomasz Adamski edited this page Dec 13, 2023 · 2 revisions

Instructions for releasing a new version of openjdk-orb:

Prepare and perform the artifact deployment in local repo

make sure local repo is up to date and clean

  1. git checkout --detach
  2. export VERSION=<NEW_VERSION, e.g., 1.0.0.Final>
  3. export BRANCH=<RELEASE_BRANCH e.g., main>
  4. mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
  5. git add .
  6. git commit -m 'Prep $VERSION'
  7. git tag -a -m $VERSION $VERSION
  8. mvn clean && mvn deploy -DaltDeploymentRepository=jboss-releases::default::https://repository.jboss.org/nexus/service/local/staging/deploy/maven2 -Pjboss-release
  9. In Nexus: close repository
  10. git push upstream $BRANCH
  11. In Nexus: release repository
  12. In Jira: add next release version
  13. git checkout $BRANCH
  14. export NEXT_VERSION=<next version, e.g., 1.0.1.Final-SNAPSHOT>
  15. mvn versions:set -DnewVersion=$NEXT_VERSION -DgenerateBackupPoms=false
  16. git add .
  17. git commit -m 'Next is $VERSION'