Skip to content

Commit

Permalink
Please enter the commit message for your changes. Lines starting
Browse files Browse the repository at this point in the history
  • Loading branch information
bpitman committed Jul 13, 2015
1 parent 50ba434 commit 3876f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/Bintray.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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))
},

Expand Down

0 comments on commit 3876f1e

Please sign in to comment.