Skip to content

Commit

Permalink
Fixed type signature for PGP
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu committed Nov 10, 2016
1 parent 5b9d630 commit 512a693
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.sbt
Expand Up @@ -14,15 +14,14 @@ def globalSettings = Seq(
def secretSettings = {
val username = sys.env.get("SONATYPE_USERNAME")
val password = sys.env.get("SONATYPE_PASSWORD")
val pgp = sys.env.get("SONATYPE_PGP")
if (!username.isEmpty && !password.isEmpty && !pgp.isEmpty) Seq(
if (!username.isEmpty && !password.isEmpty) Seq(
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
username.get,
password.get
),
pgpPassphrase := pgp.get
pgpPassphrase := sys.env.get("SONATYPE_PGP")
) else Seq()
}

Expand Down

0 comments on commit 512a693

Please sign in to comment.