"{server-major}.{server-minor}.{client-minor}"
When the "{client-minor}" is zero, version should be "{server-major}.{server-minor}".
- Sonatype release account
- $HOME/.sbt/0.13/sonatype.sbt
credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", "xxx", "yyy")
- $HOME/.sbt/0.13/plugins/gpg.sbt
// Use latest version
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
- Run
git flow release start "{full-version}"
- Set version as "{full-version}" in
Version.scala
and commit - Run
./scripts/publish_libs.sh
- Run
git flow release finish "{full-version}"
- Use
sbt sonatypeRelease
fromsbt-sonatype
plugin or access sonatype console (https://oss.sonatype.org/) - Upon success, push to master
- Switch to develop. Merge master. Set version as "{next-version}-SNAPSHOT" in Version.scala and push
- Update documentation (https://github.com/m3dev/octoparts-site/blob/develop/data/versions.yml)