Command releasebot runs a Go release.
The release happens in two stages:
preparestage checks preconditions, makes the release commit and mails it for review (if applicable), and performs testing;
releasestage runs after the release commit (if any) is merged, and it tags, builds and cleans up the release.
The user running a release will need:
~/.github-issue-token, and an account with write access to golang/go
release-managergroup membership on Gerrit
-mode=mail-dl-clonly, Secret Manager access to Gerrit API secret
-mode=tweet-*only, Secret Manager access to Twitter API secret
NOTE: all but the Gerrit permission are ensured by the bot on startup.