Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.05 KB

maintainers-guide.md

File metadata and controls

38 lines (27 loc) · 1.05 KB

Octoparts Maintainers' Guide

Versioning Policy

"{server-major}.{server-minor}.{client-minor}"

When the "{client-minor}" is zero, version should be "{server-major}.{server-minor}".

Release

Required

  • 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")

Operations

  • 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 from sbt-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)