mirror of https://github.com/sbt/sbt.git
BINTRAY_USER
This commit is contained in:
parent
2b5ed6529b
commit
c6ac5619ed
|
|
@ -70,6 +70,12 @@ val root = (project in file(".")).
|
|||
val _ = (clean in dist).value
|
||||
clean.value
|
||||
},
|
||||
credentials ++= {
|
||||
(sys.env.get("BINTRAY_USER"), sys.env.get("BINTRAY_PASS")) match {
|
||||
case (Some(u), Some(p)) => Seq(Credentials("Bintray API Realm", "api.bintray.com", u, p))
|
||||
case _ => Nil
|
||||
}
|
||||
},
|
||||
useGpg := true,
|
||||
usePgpKeyHex("642AC823"),
|
||||
pgpSecretRing := file(s"""${sys.props("user.home")}""") / ".ssh" / "scalasbt.key",
|
||||
|
|
|
|||
Loading…
Reference in New Issue