To make a new release of gapic-showcase the following steps should be performed.
- Create a new branch of the version
git checkout master
git pull origin master
git checkout -b v{VERSION}
- The semantic version of this package as well as the API is used across multiple files in gapic-showcase. This needs the be updated. Use the utility script found in util/cmd/bump_version to bump the version across all of the files. Pass the
--patch
,--minor
,--major
,--api
flags to this script depending which version needs to be updated.
go run ./util/cmd/bump_version --{TYPE}
-
Update the CHANGELOG.md file with the changes made since the last release including the version in the heading for the changes. Please note that the version must start with the character
v
in order to match the git tag that will be pushed in a later step. -
Create a pull request for this release merging the version branch into master.
-
Change branches to master and pull.
git checkout master
git pull origin master
- Create a tag for the version and push. The automated release will take over from here. Please note that version tags should start with the character
v
.
git tag v{VERSION}
git push --tags