Navigation Menu

Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
definite committed Nov 21, 2017
1 parent a023135 commit 24c3023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/maven-Jenkinsfile
Expand Up @@ -147,7 +147,7 @@ timestamps {

stage('ReleaseTag') {
sh "printf\033[1;33m[Info] \033[0m Set release version to $releaseVersion"
sh "sed -i -e 's|<tag>HEAD</tag>|<tag>'$ARTIFACT_ID'-'$releaseVersion'</tag>|' $(find . -name pom.xml | xargs )"
sh "sed -i -e 's|<tag>HEAD</tag>|<tag>'$ARTIFACT_ID'-'${releaseVersion}'</tag>|' $(find . -name pom.xml | xargs )"
sh "./mvnw $MAVEN_EXTRA_OPTIONS $MAVEN_RELEASE_OPTIONS versions:set versions:set -DnewVersion=$releaseVersion"
sh "./mvnw scm:checkin -Dmessage='chore(version): set version $releaseVersion' -DpushChanges=false"
}
Expand Down

0 comments on commit 24c3023

Please sign in to comment.