diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-02-22 13:19:50 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-02-22 13:19:50 +0100 |
commit | fab015b50e20cd504120794a7570bc673c08755c (patch) | |
tree | ac029527e954b0998200bba55201875d6c940de7 /travis.sh | |
parent | 1bd42f2bb456e76a07dacd5b3c9b9c77ccff38cb (diff) | |
download | sonarqube-fab015b50e20cd504120794a7570bc673c08755c.tar.gz sonarqube-fab015b50e20cd504120794a7570bc673c08755c.zip |
Fix deployment of RCs
Technical version of RC must not be replaced by the
build version on 4 fields.
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |