BINTRAY_USER

This commit is contained in:
Eugene Yokota 2020-01-24 15:03:40 -05:00
parent 2b5ed6529b
commit c6ac5619ed
1 changed files with 6 additions and 0 deletions

View File

@ -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",