- Create a new release with:
- the next tag version (e.g.
v0.11
) - title and release description including notable changes
- link to the milestone showing an overview of closed issues for this release
- Checkout the newly created tag and publish the release by running
sbt publishSigned
. You will have to have Sonatype OSS repository rights to publish undercom.typesafe
organisation. - Login to Sonatype to close and release the repository.
It is often the case when this compiler plugin needs to be released for a newly released Scala version. For this the process is the following:
- Checkout the version that is to be back-released, which would be
- master, if no features or bug fixes were merged to master since the latest release
- tag, if the master has unlrealeased features or bug fixes. In this case you will need to cherry pick the commit that adds support for the new Scala version.
- Create a file
version.sbt
containingversion in ThisBuild := "0.11"
which sets the version to be back-released. This will override the automatic version derivation from the git history. - Publish the release by running
sbt publishSigned
. You will have to have Sonatype OSS repository rights to publish undercom.typesafe
organisation. - Login to Sonatype to close and release the repository.