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