aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-22 13:19:50 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-22 13:19:50 +0100
commitfab015b50e20cd504120794a7570bc673c08755c (patch)
treeac029527e954b0998200bba55201875d6c940de7 /travis.sh
parent1bd42f2bb456e76a07dacd5b3c9b9c77ccff38cb (diff)
downloadsonarqube-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-xtravis.sh2
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