Skip to content

Commit 1eba231

Browse files
authored
Update deploy.sh
1 parent a3f545e commit 1eba231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cd/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
2-
if [ -n "$TRAVIS_TAG" ]; then
2+
if [ "$TRAVIS_BRANCH" == 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ] || [ -n "$TRAVIS_TAG" ]; then
33
mvn deploy -P sign,build-extras --settings cd/mvnsettings.xml
44
fi

0 commit comments

Comments
 (0)