To release new <version>
of kotlinx.serialization
:
Checkout dev
branch and update:
git checkout dev && git pull
Make sure the master
branch is fully merged into dev
:
git merge origin/master
Search & replace <old-version>
with <version>
across the project files. Should replace in:
Update Kotlin version, if necessary.
Write release notes in CHANGELOG.md
:
git changelog from git-extras may help you with that.
If necessary, commit your changes to a new branch called <version>-release
and send it for review, then merge it to dev
branch.
If review is not required, commit directly to dev
.
Tag version:
git tag v<version>
Push your changes:
git push origin dev && git push origin --tags
On TeamCity integration server:
dev
branch passes tests.dev
branch and corresponding commit.<version>
.In Sonatype admin interface:
Propose the website documentation update:
KOTLINX_SERIALIZATION_RELEASE_TAG
, creating a pull request in the website's repository.Create a new release in Github releases. Use created git tag for title and changelog message for body.
Switch back to master branch and update it:
git checkout master && git pull git merge --ff-only dev git push origin master
Announce new release in Slack.