diff options
author | ssjenka <ssjenka@ops-slave-fedora25-1.internal.sonarsource.com> | 2017-03-06 13:43:40 +0100 |
---|---|---|
committer | ssjenka <ssjenka@ops-slave-fedora25-1.internal.sonarsource.com> | 2017-03-06 13:43:40 +0100 |
commit | acaa082a92df0320ce28553d94d5bdb32ab148e4 (patch) | |
tree | 244663fa47cc37079a882e9190e040af9a885651 /travis.sh | |
parent | ceabb12b48571d25a2be5476bf1bc0db1697fcab (diff) | |
parent | 305edb8630e8797e6db4da981b5c578c64272b36 (diff) | |
download | sonarqube-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-x | travis.sh | 2 |
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 |