aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh
index 8bac388b870..e5472131437 100755
--- a/travis.sh
+++ b/travis.sh
@@ -59,9 +59,11 @@ CI)
elif [[ "$TRAVIS_BRANCH" == "branch-"* ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo 'release branch: trigger QA, no analysis'
+ export PROJECT_VERSION=`maven_expression "project.version"`
+
mvn deploy \
$MAVEN_OPTIONS \
- -Pdeploy-sonarsource
+ -Pdeploy-sonarsource,release
elif [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ -n "${GITHUB_TOKEN:-}" ]; then
echo 'Internal pull request: trigger QA and analysis'