diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-08-19 13:56:31 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-08-19 15:19:33 +0200 |
commit | c776aac08bd493244561eb9336cd88cad0c5e662 (patch) | |
tree | 3c3217452d51a49474cf389a00e0edf86f381811 /travis.sh | |
parent | 910006e96b4dd294744ee86f1f8647052141598a (diff) | |
download | sonarqube-c776aac08bd493244561eb9336cd88cad0c5e662.tar.gz sonarqube-c776aac08bd493244561eb9336cd88cad0c5e662.zip |
[script] fix duplicate set_maven_build_version
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/travis.sh b/travis.sh index cf085da8f5a..196773cfbcc 100755 --- a/travis.sh +++ b/travis.sh @@ -32,10 +32,6 @@ CI) INITIAL_VERSION=`maven_expression "project.version"` if [[ $INITIAL_VERSION =~ "-SNAPSHOT" ]]; then - set_maven_build_version $TRAVIS_BUILD_NUMBER - fi - - if [[ $INITIAL_VERSION =~ "-SNAPSHOT" ]]; then echo "======= Found SNAPSHOT version =======" # Do not deploy a SNAPSHOT version but the release version related to this build set_maven_build_version $TRAVIS_BUILD_NUMBER |