- Install gpg
- Edit the plugins.sbt file
- Get next version identifier
- Enable distribution on sonatype.org
- Tag the release
- Check to see if it's there
Add the following lines to ~/.sbt/sonatype.sbt
import com.typesafe.sbt.pgp._
pgpPassphrase := Some("".toArray)
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"jenkinss142",
"xxxx")
~/.sbt/plugins/build.sbt
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")) (Resolver.ivyStylePatterns)
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8")
sbt passphrase
pgp-cmd key-gen
// don't use passphrase
// may have to publish your key ???
From: http://central.maven.org/maven2/edu/berkeley/cs/chisel_2.10/
cd ~/bar/chisel
edit ~/bar/chisel/project/build.scala and put in version number
sbt publish-signed
--
Go to https://oss.sonatype.org/
login with jenkins142 account (from .sbt/....)
click on staging repositories
hit refresh
select corresponding chisel jar file
hit close
hit refresh
wait for release button to appear
hit release
incorporate git hash tag with git repo with version number
Go to [https://repo1.maven.org/maven2/edu/berkeley/cs/] look for chisel-hwiotesters_2.11/