Updated release process to use maven release plugin
This commit is contained in:
parent
7d239f8990
commit
d109bf7b56
1 changed files with 4 additions and 15 deletions
|
@ -7,31 +7,21 @@
|
||||||
|
|
||||||
## Release
|
## Release
|
||||||
|
|
||||||
*Releasing currently requires using JDK 7 due to a bug in JAX-RS Doclets*
|
|
||||||
|
|
||||||
### Clone from GitHub
|
### Clone from GitHub
|
||||||
|
|
||||||
# git clone https://github.com/keycloak/keycloak.git
|
# git clone https://github.com/keycloak/keycloak.git
|
||||||
# cd keycloak
|
# cd keycloak
|
||||||
|
|
||||||
### Update version
|
### Prepare the release
|
||||||
|
|
||||||
# mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false -Pjboss-release
|
# mvn -Pjboss-release release:prepare
|
||||||
|
|
||||||
### Build
|
### Perform the release
|
||||||
|
|
||||||
# mvn install install -Pdistribution
|
# mvn -Pjboss-release release:perform
|
||||||
# mvn install -Pjboss-release -DskipTests
|
|
||||||
|
|
||||||
### Tag
|
|
||||||
|
|
||||||
# git tag $VERSION
|
|
||||||
# git push --tags
|
|
||||||
|
|
||||||
### Deploy to Nexus
|
### Deploy to Nexus
|
||||||
|
|
||||||
# mvn deploy -DskipTests -Pjboss-release
|
|
||||||
|
|
||||||
Then login to Nexus and release the maven uploads in the staging area. Artifacts will eventually be synced to Maven Central, but this can take up to 24 hours.
|
Then login to Nexus and release the maven uploads in the staging area. Artifacts will eventually be synced to Maven Central, but this can take up to 24 hours.
|
||||||
|
|
||||||
### Upload
|
### Upload
|
||||||
|
@ -51,7 +41,6 @@ Upload all artifacts to downloads.jboss.org (see https://mojo.redhat.com/docs/DO
|
||||||
# git tag $VERSION
|
# git tag $VERSION
|
||||||
# git push --tags
|
# git push --tags
|
||||||
|
|
||||||
|
|
||||||
## After Release
|
## After Release
|
||||||
|
|
||||||
### Update Bower
|
### Update Bower
|
||||||
|
|
Loading…
Reference in a new issue