From fab015b50e20cd504120794a7570bc673c08755c Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 22 Feb 2017 13:19:50 +0100 Subject: [PATCH] Fix deployment of RCs Technical version of RC must not be replaced by the build version on 4 fields. --- travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis.sh b/travis.sh index 06cd9b812f5..34d24f04307 100755 --- a/travis.sh +++ b/travis.sh @@ -70,7 +70,7 @@ function fixBuildVersion { echo "Source Version: $INITIAL_VERSION" echo "Build Version : $PROJECT_VERSION" - if [[ "$INITIAL_VERSION" == *"-"* ]]; then + if [[ "$INITIAL_VERSION" == *"-SNAPSHOT"* ]]; then # SNAPSHOT or RC mvn org.codehaus.mojo:versions-maven-plugin:2.2:set -DnewVersion=$PROJECT_VERSION -DgenerateBackupPoms=false -B -e fi -- 2.39.5