We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d471130 commit 55aa265Copy full SHA for 55aa265
.travis.yml
@@ -10,7 +10,7 @@ script:
10
if [[ $TRAVIS_TAG =~ ^v.* ]]; then
11
./gradlew clean build publish -Prelease.useLastTag=true -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE}
12
else
13
- ./gradlew clean build snapshot
+ ./gradlew clean build snapshot $(if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo "publish -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE}"; fi)
14
fi
15
16
before_install:
0 commit comments