diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-03-03 16:43:43 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-03-03 16:43:43 +0100 |
commit | 62e913b8c38f369b6ed059085082b155d21e8f6f (patch) | |
tree | 4ed7705c52b6804301747169ca76ff1cbb0eddf5 /travis.sh | |
parent | b7ba1b5d7437391826e49d322fae6fed385f901b (diff) | |
download | sonarqube-62e913b8c38f369b6ed059085082b155d21e8f6f.tar.gz sonarqube-62e913b8c38f369b6ed059085082b155d21e8f6f.zip |
No need to change project version on Travis when not SNAPSHOT
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/travis.sh b/travis.sh index 127377f8fd4..b4299fc8ceb 100755 --- a/travis.sh +++ b/travis.sh @@ -82,12 +82,11 @@ function fixBuildVersion { else # SNAPSHOT export PROJECT_VERSION=$BUILD_VERSION + mvn org.codehaus.mojo:versions-maven-plugin:2.2:set -DnewVersion=$PROJECT_VERSION -DgenerateBackupPoms=false -B -e fi echo "Build Version : $BUILD_VERSION" echo "Project Version: $PROJECT_VERSION" - - mvn org.codehaus.mojo:versions-maven-plugin:2.2:set -DnewVersion=$PROJECT_VERSION -DgenerateBackupPoms=false -B -e } # |