Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 861 Bytes

RELEASE.adoc

File metadata and controls

29 lines (22 loc) · 861 Bytes

Release to maven central

Getting it faster in vpro-nexus.

Checkout tag and build with -P`vpro-nexus`

git checkout REL-3.6.1
mvn -Pvpro-nexus deploy

Publishing one module only

git checkout REL-3.5-SNAPSHOT
VERSION=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout`
TAG_VERSION=`echo $VERSION | gawk 'match($1, /([0-9]+)\.([0-9]+)\.([0-9]+)([\.-].*)/, a) {print a[1]"."a[2]"."(a[3] - 1)".1"}'`

git branch ${BRANCH_VERSION}
git checkout ${BRANCH_VERSION}
mvn -DnewVersion=$BRANCH_VERSION versions:set

Now make changes to the module you want to publish and commit them.