This document outlines how to create a release of tchannel-go
-
Set up some environment variables for use later.
# This is the version being released. $ VERSION=1.8.0 -
Make sure you have the latest dev and create a branch off it.
$ git checkout dev $ git pull $ git checkout -b release -
Update the
CHANGELOG.mdandversion.gofiles.$ go run ./scripts/vbumper/main.go --version $VERSION -
Clean up the
CHANGELOG.mdto only mention noteworthy changes for users. -
Commit changes and create a PR against
devto prepare for release. -
Once the release PR has been accepted, run the following to release.
$ git checkout master $ git pull $ git merge dev $ git tag -a "v$VERSION" -m "v$VERSION" $ git push origin master v$VERSION -
Go to https://github.com/uber/tchannel-go/tags and edit the release notes. Copy changelog entries for this release and set the name to
v$VERSION. -
Switch back to development.
$ git checkout dev $ git merge master $ go run ./scripts/vbumper/main.go --version ${VERSION}-dev --skip-changelog $ git commit -am "Back to development" $ git push