Release 1.1.0
dwijnand opened this issue · 0 comments
dwijnand commented
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
andgit 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
andshow version
to verify the version. - In sbt run
clean
, particularly if you've recently bumpedscalaVersion
. - 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
updatesbt-mima-plugins
. - In
project/MimaSettings.scala
updatemimaPreviousVersion
& clear outmimaBinaryIssueFilters
. - In sbt run
testStaging
WITHOUTreload
ing first (testStaging
adds the staging resolvers & runsreload
). - 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!