From 1bb53d8a302bde4a79a2d7c548b186b57afee7d8 Mon Sep 17 00:00:00 2001 From: David Rautureau Date: Wed, 26 Oct 2016 13:48:17 +0200 Subject: [PATCH] BUILD-265 Move to the new release process --- it/pom.xml | 2 +- travis.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/it/pom.xml b/it/pom.xml index 12e1539..7c8a536 100644 --- a/it/pom.xml +++ b/it/pom.xml @@ -103,7 +103,7 @@ String pom = new File(project.basedir, '../pom.xml').getText('UTF-8') def matcher = pom =~ /(?s).*(.*?)-SNAPSHOT<\/version>.*/ assert matcher.matches() - project.properties['scanner.version'] = matcher[0][1] + '-build' + System.getenv()['CI_BUILD_NUMBER'] + project.properties['scanner.version'] = matcher[0][1] + '.0.' + System.getenv()['CI_BUILD_NUMBER'] ]]> diff --git a/travis.sh b/travis.sh index f4b14ea..d2f96b1 100755 --- a/travis.sh +++ b/travis.sh @@ -4,7 +4,7 @@ set -euo pipefail function configureTravis { mkdir ~/.local - curl -sSL https://github.com/SonarSource/travis-utils/tarball/latest | tar zx --strip-components 1 -C ~/.local + curl -sSL https://github.com/SonarSource/travis-utils/tarball/v33 | tar zx --strip-components 1 -C ~/.local source ~/.local/bin/install } configureTravis -- 2.39.5