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 intodev
:
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
:- Use old releases as example of style.
- Write each change on a single line (don't wrap with CR).
- Study commit message from previous release.
git changelog from git-extras may help you with that.
-
Tag version:
git tag v<version>
-
Push your changes:
git push origin dev && git push origin --tags
-
On TeamCity integration server:
- Wait until "Runtime library (Build – Aggregated)" configuration for committed
dev
branch passes tests. - Run "Runtime library (Deploy - Train)" configuration:
- On 'Changes' tab, select
dev
branch and corresponding commit. - On 'Parameters' tab, find 'Deploy version' and fill in with
<version>
.
- On 'Changes' tab, select
- Wait until "Runtime library (Build – Aggregated)" configuration for committed
-
In Bintray admin interface:
- Publish artifacts of the new version.
- Wait until newly published version becomes the most recent.
-
Update documentation website:
./update_docs.sh <version> push
-
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.