| 1 |
# Release process |
| 2 |
## Preparing for a release |
| 3 |
|
| 4 |
Releases are performed by maintainers and should usually be discussed and planned at a maintainer meeting. |
| 5 |
|
| 6 |
- Choose the version number. It should be prefixed with `v`, e.g. `v1.2.3` |
| 7 |
- Take a quick scan through the PRs and issues to make sure there isn't anything crucial that _must_ be in the next release. |
| 8 |
- Create a draft of the release note |
| 9 |
- Discuss the level of testing that's needed and create a test plan if sensible |
| 10 |
- Check what version of `go` is used in the build container, updating it if there's a new stable release. |
| 11 |
|
| 12 |
## Publishing the release |
| 13 |
|
| 14 |
1. Make sure you are on the master branch and don't have any local uncommitted changes. |
| 15 |
1. Create a signed tag for the release `git tag -s $VERSION` (Ensure that GPG keys are created and added to GitHub) |
| 16 |
1. Push the tag to git `git push origin <TAG>` |
| 17 |
1. Create a release on Github, using the tag which was just pushed. |
| 18 |
1. Add the release note to the release. |
| 19 |
1. Announce the release on at least the CNI mailing, IRC and Slack. |