Fix windows build task name and shell env for publish script

This commit is contained in:
Ugljesa Jovanovic 2020-06-13 18:52:06 +02:00
parent a3cb4f653a
commit da87bb4f17
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
3 changed files with 3 additions and 3 deletions

View File

@ -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/

View File

@ -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

View File

@ -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