From 512a693df78f89dc0e91fcb205bd2852b8fc04a8 Mon Sep 17 00:00:00 2001 From: Filippo Costa Date: Thu, 10 Nov 2016 15:22:36 +0100 Subject: [PATCH] Fixed type signature for PGP --- build.sbt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 5bee683..16a31ee 100644 --- a/build.sbt +++ b/build.sbt @@ -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() }