# Release Process

The ip-masq-agent is released on an as-needed basis. The process is as follows:

1. Someone must file an issue proposing a new release with a changelog since the last release.
1. All [OWNERS](OWNERS) must LGTM this release.
1. An OWNER (who must have push access to the `google_containers` project):
    1. Tags the commit approved for release with `git tag -s vx.x.x`. The `vx.x.x` is semver with a leading `v`.
    1. Runs `make push`, to build and push the container image for the release to `google_containers`.
    1. Pushes the tag with `git push vx.x.x`. 
1. The release issue is closed.
1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] ip-masq-agent vx.x.x is released`.
# Release Process

The ip-masq-agent is released on an as-needed basis. The process is as follows:

1. Someone must file an issue proposing a new release with a changelog since the last release.
1. All [OWNERS](OWNERS) must LGTM this release.
1. An OWNER (who must have push access to the `google_containers` project):
    1. Tags the commit approved for release with `git tag -s vx.x.x`. The `vx.x.x` is semver with a leading `v`.
    1. Runs `make push`, to build and push the container image for the release to `google_containers`.
    1. Pushes the tag with `git push vx.x.x`. 
1. The release issue is closed.
1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] ip-masq-agent vx.x.x is released`.

Example:

```
$ git tag
v0.2.0
v0.2.1
v0.3.1
v0.4.0
v1.0.0
v2.0.0

# Pick the next release number

$ git tag -am "v2.0.1" v2.0.1

$ make container TAG=v2.0.1
<...lots of output...>
container: gcr.io/google-containers/ip-masq-agent-amd64:v2.0.1

$ gcloud docker push -- gcr.io/google-containers/ip-masq-agent-amd64:v2.0.1
<...lots of output...>
v2.0.1: digest: sha256:504833aedf3f14379e73296240ed44d54aecd4c02367b004452dfeca2465e5bf size: 950
```

Add example to the release md.
Add example to the release md.
