Skip to content

Commit ed9db3c

Browse files
Moves pgp sbt keys to the root
1 parent fc1773c commit ed9db3c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

build.sbt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
import de.heikoseeberger.sbtheader.license.MIT
22
import catext.Dependencies._
3+
import PgpKeys.gpgCommand
34

45
val dev = Seq(Dev("47 Degrees (twitter: @47deg)", "47 Degrees"))
56
val gh = GitHubSettings("com.fortysevendeg", "github4s", "47 Degrees", mit)
67
val vAll = Versions(versions, libraries, scalacPlugins)
78

9+
pgpPassphrase := Some(sys.env.getOrElse("PGP_PASSPHRASE", "").toCharArray)
10+
pgpPublicRing := file(s"${sys.env.getOrElse("PGP_FOLDER", ".")}/pubring.gpg")
11+
pgpSecretRing := file(s"${sys.env.getOrElse("PGP_FOLDER", ".")}/secring.gpg")
12+
813
lazy val buildSettings = Seq(
914
name := gh.proj,
1015
organization := gh.org,
@@ -21,7 +26,6 @@ lazy val buildSettings = Seq(
2126
) ++ reformatOnCompileSettings ++
2227
miscSettings ++
2328
sharedReleaseProcess ++
24-
pgpSettings ++
2529
credentialSettings ++
2630
sharedPublishSettings(gh, dev)
2731

0 commit comments

Comments
 (0)