lightbend-labs/mima

Release 1.1.0

dwijnand opened this issue · 0 comments

Release checklist

  • Check CI passes against the latest Scala versions.
  • Create a new milestone for the release you are about to perform, if one doesn't exist.
  • Draft a new release for the release, by comparing changes.
  • Bump the version in the README.md and git commit -am 'Release 0.x.y.
  • Run git tag -a -s 0.x.y -m 'Version 0.x.y. The name of the tag should NOT have a 'v' prefix.
  • In sbt run reload and show version to verify the version.
  • In sbt run clean, particularly if you've recently bumped scalaVersion.
  • In sbt run publishSigned. You should start seeing "published mima-.. to https://oss.sonatype.org/service/local/staging/deploy/maven2/..".
  • In sbt run ++2.13.6 core/publishSigned, using the right 2.13 version.
  • Find and close your staging repository. (See Sonatype's Releasing the Deployment guide.)
  • Switch to a branch (e.g. git checkout -b release)
  • In plugins.sbt update sbt-mima-plugins.
  • In project/MimaSettings.scala update mimaPreviousVersion & clear out mimaBinaryIssueFilters.
  • In sbt run testStaging WITHOUT reloading first (testStaging adds the staging resolvers & runs reload).
  • Run git commit -am 'Update sbt-mima-plugin to 0.x.y and PR it (hub pull-request).
  • Find and release your staging repository.
  • Close the milestone.
  • Switch back to the main branch and run git push --follow-tags to push the tag.
  • Find and merge your update PR. You may poll repo1 directly (note the trailing slash in the URL).
  • Find and hit "Publish Release" on the draft GitHub release.

You are done!