This document outlines how to create a release of thriftrw-go
-
git checkout master
-
git pull
-
git merge <branch>
where<branch>
is the branch we want to cut the release on (most likelydev
) -
Alter CHANGELOG.md from
[Unreleased]
to[X.Y.Z] - YYY-MM-DD
and add a reference at the bottom of the document in the form of:[X.Y.Z]: https://github.com/thriftrw/thriftrw-go/compare/vU.V.W...vX.Y.Z
, where X.Y.Z is the version to release and U.V.W is the prior. -
Alter
version/version.go
to have the same version asversion_to_release
-
Run
make verifyversion
-
Create a commit with the title
Prepare for release <version_to_release>
-
Create a git tag for the version using
git tag -a v<version_to_release> -m v<version_to_release
(e.g.,git tag -a v1.0.0 -m v1.0.0
) -
Push the tag to origin
git push --tags origin v<version_to_release>
-
git push origin master
-
Go to https://github.com/thriftrw/thriftrw-go/tags and edit the release notes of the new tag (copy the changelog into the release notes and make the release name the version number)
-
git checkout dev
-
git merge master
-
Update
CHANGELOG.md
andversion/version.go
to have a new[Unreleased]
(- No changes yet
) block, runmake generate
, and put into a commit with titleBack to development
-
Run
make verifyversion
-
git push origin dev