-
Notifications
You must be signed in to change notification settings - Fork 12
Project release procedure
Tomasz Adamski edited this page Dec 13, 2023
·
2 revisions
Instructions for releasing a new version of openjdk-orb
:
- git checkout --detach
- export VERSION=<NEW_VERSION, e.g., 1.0.0.Final>
- export BRANCH=<RELEASE_BRANCH e.g., main>
- mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
- git add .
- git commit -m 'Prep $VERSION'
- git tag -a -m $VERSION $VERSION
- mvn clean && mvn deploy -DaltDeploymentRepository=jboss-releases::default::https://repository.jboss.org/nexus/service/local/staging/deploy/maven2 -Pjboss-release
- In Nexus: close repository
- git push upstream $BRANCH
- In Nexus: release repository
- In Jira: add next release version
- git checkout $BRANCH
- export NEXT_VERSION=<next version, e.g., 1.0.1.Final-SNAPSHOT>
- mvn versions:set -DnewVersion=$NEXT_VERSION -DgenerateBackupPoms=false
- git add .
- git commit -m 'Next is $VERSION'