Make sure not to publish if we are a pull request too...

This commit is contained in:
Seth Goings 2015-01-02 17:33:13 -07:00
parent ab83e852ff
commit d62d0aa916

View File

@ -244,7 +244,7 @@ publishing {
artifactoryPublish { artifactoryPublish {
onlyIf { onlyIf {
System.env.'TRAVIS_BRANCH' == "master" System.env.'TRAVIS_BRANCH' == "master" && !System.env.'TRAVIS_PULL_REQUEST'.toBoolean()
} }
dependsOn assemble dependsOn assemble
} }