Skip to content

Commit

Permalink
add instructions for publishing a release
Browse files Browse the repository at this point in the history
  • Loading branch information
droot committed May 23, 2018
1 parent 2f6e7ec commit e3934ee
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit e3934ee

Please sign in to comment.