From d62d0aa9162706b896bbde8b22dd60308787b3d8 Mon Sep 17 00:00:00 2001 From: Seth Goings Date: Fri, 2 Jan 2015 17:33:13 -0700 Subject: [PATCH] Make sure not to publish if we are a pull request too... --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c71f410ced..3534d3b3d1 100644 --- a/build.gradle +++ b/build.gradle @@ -244,7 +244,7 @@ publishing { artifactoryPublish { onlyIf { - System.env.'TRAVIS_BRANCH' == "master" + System.env.'TRAVIS_BRANCH' == "master" && !System.env.'TRAVIS_PULL_REQUEST'.toBoolean() } dependsOn assemble }