Skip to content

Commit b9bf432

Browse files
rootMobyman
authored andcommitted
Add travis
1 parent f712a88 commit b9bf432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
if [ "$TRAVIS_BRANCH" = 'master' ]; then
2+
if [ "$TRAVIS_BRANCH" = 'master' -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
33
openssl aes-256-cbc -K $encrypted_5c22135b7a45_key -iv $encrypted_5c22135b7a45_iv -in travis.gpg.enc -out travis.gpg -d
44
gradle uploadArchives -PossrhUsername=${SONATYPE_USERNAME} -PossrhPassword=${SONATYPE_PASSWORD} -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE} -Psigning.secretKeyRingFile=travis.gpg
55
fi

0 commit comments

Comments
 (0)