aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorssjenka <ssjenka@ops-slave-fedora25-1.internal.sonarsource.com>2017-03-06 13:43:40 +0100
committerssjenka <ssjenka@ops-slave-fedora25-1.internal.sonarsource.com>2017-03-06 13:43:40 +0100
commitacaa082a92df0320ce28553d94d5bdb32ab148e4 (patch)
tree244663fa47cc37079a882e9190e040af9a885651 /travis.sh
parentceabb12b48571d25a2be5476bf1bc0db1697fcab (diff)
parent305edb8630e8797e6db4da981b5c578c64272b36 (diff)
downloadsonarqube-acaa082a92df0320ce28553d94d5bdb32ab148e4.tar.gz
sonarqube-acaa082a92df0320ce28553d94d5bdb32ab148e4.zip
Automatic merge from branch-6.3
* origin/branch-6.3: Fix PROJECT_VERSION on Travis for SNAPSHOT versions
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 4e84696b946..e12de64028e 100755
--- a/travis.sh
+++ b/travis.sh
@@ -95,7 +95,7 @@ function fixBuildVersion {
export BUILD_VERSION="$without_suffix.$TRAVIS_BUILD_NUMBER"
fi
- if [ "${INITIAL_VERSION}" == *"-SNAPSHOT" ]; then
+ if [[ "${INITIAL_VERSION}" == *"-SNAPSHOT" ]]; then
# SNAPSHOT
export PROJECT_VERSION=$BUILD_VERSION
mvn org.codehaus.mojo:versions-maven-plugin:2.2:set -DnewVersion=$PROJECT_VERSION -DgenerateBackupPoms=false -B -e