Merge pull request #31 from droot/release-instructions

add instructions for publishing a release
This commit is contained in:
Jeff Regan
2018-05-24 10:51:08 -07:00
committed by GitHub

View File

@@ -11,3 +11,18 @@ container-builder-local --config=build/cloudbuild_local.yaml --dryrun=false --wr
```
You will find the build artifacts under `/tmp/w/dist` directory
### Publishing a Release
Here are the steps to publish a new release.
- Figure out the next version (for ex. v1.0.3) to be released.
- Ensure that you are on master branch and is up-to-date with the remote upstream/master branch. Do the following if you are in doubt:
```
git checkout master
git fetch upstream
git rebase upstream/master
```
- Tag the repo by running `git tag -a <version> -m "<version> release"`
- Push the tag to `upstream` branch by running `git push upstream <version>`
- Thats it! The new tag will trigger a job in Google Container Builder and new release should appear in the releases page.