To release new <version>
of kotlinx-coroutines
:
Checkout develop
branch:
git checkout develop
Retrieve the most recent develop
:
git pull
Make sure the master
branch is fully merged into develop
: git merge origin/master
Search & replace <old-version>
with <version>
across the project files. Should replace in:
README.md
coroutines-guide.md
gradle.properties
ui/kotlinx-coroutines-android/example-app/gradle.properties
ui/kotlinx-coroutines-android/animation-app/gradle.properties
CHANGES.md
from replacements.Write release notes in CHANGES.md
:
Create branch for this release: git checkout -b version-<version>
Commit updated files to a new version branch:
git commit -a -m "Version <version>"
Push new version into the branch:
git push -u origin version-<version>
Create Pull-Request on GitHub from version-<version>
branch into master
:
Merge new version branch into master
:
git checkout master
git merge version-<version>
git push
On TeamCity integration server:
master
branch passes tests.In GitHub interface:
<version>
.CHANGES.md
into description.Build and publish documentation for web-site:
site/deploy.sh <version> push
In Bintray admin interface:
Announce new release in Slack
Switch into develop
branch:
git checkout develop
Fetch the latest master
:
git fetch
Merge release from master
:
git merge origin/master
Push updates to develop
:
git push