From 04e34a70f35c56f3c4df0bea3cca3804e52235f9 Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Fri, 7 Jun 2019 08:12:08 +0200 Subject: [PATCH] now releasing taskana parents aswell --- .travis.yml | 7 +++++-- ci/release.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15216caa7..36990e3e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,10 +52,13 @@ jobs: - stage: "Release / Deploy" name: "Release stage" script: - - ci/release.sh lib/taskana-core $TRAVIS_TAG + - ci/release.sh . $TRAVIS_TAG + && ci/release.sh lib $TRAVIS_TAG + && ci/release.sh lib/taskana-core $TRAVIS_TAG && ci/release.sh lib/taskana-spring $TRAVIS_TAG && ci/release.sh lib/taskana-cdi $TRAVIS_TAG - && ci/release.sh web/ $TRAVIS_TAG + && ci/release.sh web $TRAVIS_TAG + && ci/release.sh rest $TRAVIS_TAG && ci/release.sh rest/taskana-rest-spring $TRAVIS_TAG && ci/release.sh rest/taskana-rest-spring-base $TRAVIS_TAG if: repo = env(DEPLOY_REPO) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request diff --git a/ci/release.sh b/ci/release.sh index 847dfee13..2ec90e297 100755 --- a/ci/release.sh +++ b/ci/release.sh @@ -57,7 +57,7 @@ function decodeAndImportKeys { # $2: profile name # $3: settings file (dir) function release { - mvn deploy -f "$1" -P "$2" --settings "$3" -DskipTests=true -B -U + mvn deploy -f "$1" -P "$2" --settings "$3" -DskipTests=true -B -U -N } # changing version in pom and all its children