aboutsummaryrefslogtreecommitdiff
path: root/admin/gpg.sbt
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-12-19 10:09:08 +1000
committerJason Zaugg <jzaugg@gmail.com>2014-12-19 10:09:08 +1000
commit1568a28842e2c538ca735a34274ae5e4ee5eca22 (patch)
tree6be60a4d18658767b29a70abdf2fd8cc44cb06fa /admin/gpg.sbt
parentc44d2ca0c7e24c98eaaa3c1b5023cfd7cc877ae9 (diff)
parentd469cecfa77339152b8228bec78e6fa85dff0375 (diff)
downloadscala-async-1568a28842e2c538ca735a34274ae5e4ee5eca22.tar.gz
scala-async-1568a28842e2c538ca735a34274ae5e4ee5eca22.tar.bz2
scala-async-1568a28842e2c538ca735a34274ae5e4ee5eca22.zip
Merge pull request #101 from retronym/merge/2.10.x-to-master-tag-driven-releasev0.9.3_2.11v0.9.3-RC1_2.11
Merge 2.10.x to master to bring in tag driven publishing
Diffstat (limited to 'admin/gpg.sbt')
-rw-r--r--admin/gpg.sbt26
1 files changed, 26 insertions, 0 deletions
diff --git a/admin/gpg.sbt b/admin/gpg.sbt
new file mode 100644
index 0000000..01157e6
--- /dev/null
+++ b/admin/gpg.sbt
@@ -0,0 +1,26 @@
+
+addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3") // only added when publishing:
+
+// There's a companion sensitive.sbt, which was created like this:
+//
+// 1. in an sbt shell that has the sbt-pgp plugin, create pgp key in admin/:
+//
+// sbt
+// set pgpReadOnly := false
+// set pgpPublicRing := file("admin/pubring.asc")
+// set pgpSecretRing := file("admin/secring.asc")
+// pgp-cmd gen-key // use $passPhrase
+// Please enter the name associated with the key: $repoName
+// Please enter the email associated with the key: scala-internals@googlegroups.com
+// Please enter the passphrase for the key: $passphrase
+//
+// 2. create sensitive.sbt with contents:
+//
+// pgpPassphrase := Some($passPhrase.toArray)
+//
+// pgpPublicRing := file("admin/pubring.asc")
+//
+// pgpSecretRing := file("admin/secring.asc")
+//
+// credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", $sonaUser, $sonaPass)
+