aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-03-03 16:43:43 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-03-03 16:43:43 +0100
commit62e913b8c38f369b6ed059085082b155d21e8f6f (patch)
tree4ed7705c52b6804301747169ca76ff1cbb0eddf5 /travis.sh
parentb7ba1b5d7437391826e49d322fae6fed385f901b (diff)
downloadsonarqube-62e913b8c38f369b6ed059085082b155d21e8f6f.tar.gz
sonarqube-62e913b8c38f369b6ed059085082b155d21e8f6f.zip
No need to change project version on Travis when not SNAPSHOT
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh3
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
}
#