From 3876f1e03e0d1883a459f2cbd6db83a5f613b457 Mon Sep 17 00:00:00 2001 From: Brent Pitman Date: Mon, 13 Jul 2015 14:46:13 -0700 Subject: [PATCH] Please enter the commit message for your changes. Lines starting --- project/Bintray.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Bintray.scala b/project/Bintray.scala index 98dbdbef..5ec67c4f 100644 --- a/project/Bintray.scala +++ b/project/Bintray.scala @@ -5,6 +5,7 @@ import bintray.BintrayKeys._ object Bintray { + lazy val isPullRequest = sys.env.getOrElse("TRAVIS_PULL_REQUEST", "false") != "false" lazy val (user, pass) = { if (isPullRequest) ("dummyUser", "dummyPass") else (sys env "bintrayUser", sys env "bintrayKey") @@ -25,7 +26,6 @@ object Bintray { }, storeBintrayCredentials := { - val isPullRequest = sys.env.getOrElse("TRAVIS_PULL_REQUEST", "false") != "false" IO.write(bintrayCredentialsFile.value, api.template(user, pass)) },