blob: e915dfbb31b0302e136306f1e7552f4e7aac6e4f [file] [log] [blame] [view]
Filippo Valsorda6ae3f182018-06-06 11:39:58 -04001# golang.org/x/build/cmd/releasebot
2
3Command releasebot runs a Go release.
4
5The release happens in two stages:
6
Dmitri Shuralyovb706b592020-06-03 00:41:08 -04007* the `prepare` stage checks preconditions, makes the release commit and mails it for review (if applicable), and performs testing;
Filippo Valsorda7f9f9be2018-06-18 16:41:24 -04008* the `release` stage runs after the release commit (if any) is merged, and it tags, builds and cleans up the release.
Filippo Valsorda6ae3f182018-06-06 11:39:58 -04009
Filippo Valsorda6ae3f182018-06-06 11:39:58 -040010## Permissions
11
12The user running a release will need:
13
14* A GitHub personal access token with the `public_repo` scope in `~/.github-issue-token`, and an account with write access to golang/go
15* gomote access and a token in your name
16* gcloud application default credentials, and an account with GCS access to golang-org for bucket golang-release-staging
17* **`release-manager` group membership on Gerrit**
18
19NOTE: all but the Gerrit permission are ensured by the bot on startup.