From da87bb4f17f3808713706ab38c00617d8d795fff Mon Sep 17 00:00:00 2001 From: Ugljesa Jovanovic Date: Sat, 13 Jun 2020 18:52:06 +0200 Subject: [PATCH] Fix windows build task name and shell env for publish script --- .travis.yml | 2 +- windowsBuildAndPublish-delegated.sh | 2 +- windowsBuildAndPublish-pure.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index be423d2..112f209 100644 --- a/.travis.yml +++ b/.travis.yml @@ -130,7 +130,7 @@ matrix: - $msys2 pacman --sync --clean --noconfirm script: - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then $shell ./windowsBuild-delegated.sh; fi' - - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./windowsBuildAndPublish-delegated.sh; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then $shell ./windowsBuildAndPublish-delegated.sh; fi' cache: directories: - $HOME/.m2/ diff --git a/windowsBuildAndPublish-delegated.sh b/windowsBuildAndPublish-delegated.sh index fbef035..6434ff4 100755 --- a/windowsBuildAndPublish-delegated.sh +++ b/windowsBuildAndPublish-delegated.sh @@ -14,5 +14,5 @@ echo "completed libsodium build" #now we can do the delegated build cd .. ./gradlew multiplatform-crypto-delegated:build -./gradlew multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotMavenRepository +./gradlew multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotRepository set +e \ No newline at end of file diff --git a/windowsBuildAndPublish-pure.sh b/windowsBuildAndPublish-pure.sh index 7da4fd6..f1f2c00 100755 --- a/windowsBuildAndPublish-pure.sh +++ b/windowsBuildAndPublish-pure.sh @@ -4,5 +4,5 @@ set -e ./gradlew multiplatform-crypto-api:build ./gradlew multiplatform-crypto:build -./gradlew multiplatform-crypto:publishMingwX64PublicationToSnapshotMavenRepository +./gradlew multiplatform-crypto:publishMingwX64PublicationToSnapshotRepository set +e \ No newline at end of file