Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Filippo Valsorda 3c1c43f4d4 cmd/releasebot: run all.bash in prepare mode
Run cmd/release in prepare mode to get the all.bash tests to run on the
builders before the version commit is issued.

Also, scope the release artifacts by version commit, so there is never
any need to destroy them if the tag is reissued.

Change-Id: Idc14858c542f01b1652203758158d5e4972672c8
Reviewed-on: https://go-review.googlesource.com/c/154341
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-01-09 19:52:41 +00:00
Filippo Valsorda 6841fe2250 cmd/releasebot: don't try to recreate the tag when it already exists
Change-Id: I42865f871df540eeb98abd104a8c0560fdf34cd6
Reviewed-on: https://go-review.googlesource.com/c/154343
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
2019-01-05 00:45:49 +00:00
Filippo Valsorda 702928c3e4 cmd/releasebot: add support for security releases
Change-Id: I24f22a6101b550d459a4f4db1971e0c23ffae1d3
Reviewed-on: https://go-review.googlesource.com/c/153866
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2018-12-12 22:06:52 +00:00
Filippo Valsorda 82893f770d releasebot: allow resuming after the tag was created
Change-Id: I1023761af4997e51273dc636b865ab35fce7366e
Reviewed-on: https://go-review.googlesource.com/120761
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-06-25 22:38:30 +00:00
Filippo Valsorda 7f9f9beb17 cmd/releasebot: add support for beta releases
Change-Id: I20b4c68dd2512dc76f5751c200d487784b68670b
Reviewed-on: https://go-review.googlesource.com/119537
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-06-19 19:43:43 +00:00
Filippo Valsorda 98033f5827 cmd/releasebot: remove runDir and extraEnv object state
Change-Id: I361a42676926aaf92314a2681f519bbf21a1d612
Reviewed-on: https://go-review.googlesource.com/119536
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-06-19 19:41:48 +00:00
Filippo Valsorda 6ae3f185d4 cmd/releasebot: adapt to new minor release process
Split the process in two parts with a manual +2 and submit of the
release commit in the middle. This way the release manager doesn't need
to force submit anything, and the first stage stops before serious
write operations. This also made dry-run mode more complete and the
process easier to resume if something breaks.

Completely removed the beta and rc code as it got messy with the partial
rewrite and it would have just been broken untested code waiting to break.

Fixes golang/go#24902

Change-Id: I2cbd9bdf88e283d2ca527e5c91c620617d7e068e
Reviewed-on: https://go-review.googlesource.com/116357
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-06-13 21:27:35 +00:00
Andrew Bonventre 06ed7b8c14 cmd/releasebot: allow final releases without an RC
Remove the requirement for a final release to have an RC, since
point releases may not have one.

Additionally adds some error logs when running ./make.bash

Change-Id: If52d19d01e9e2a49c16d9b55c782bd922637292b
Reviewed-on: https://go-review.googlesource.com/89037
Reviewed-by: Russ Cox <rsc@golang.org>
2018-01-23 01:03:02 +00:00
Andrew Bonventre 181a4325ba cmd/releasebot: add support for beta releases
Additionally:

+ Check that git-codereiew is installed or exit
+ Use fully qualified git-codereview commands (don't
  assume the user has installed the aliases)

Change-Id: Iaeaa28affec06d58b90ec295120169fd945edf90
Reviewed-on: https://go-review.googlesource.com/84615
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-12-19 17:27:32 +00:00
Andrew Bonventre 9f11edf3be cmd/releasebot: remove EDITOR=true hack in favor of --no-edit
The EDITOR env var is set to true to prevent git commit --amend
from pulling up an editor. Use the --no-edit command instead since
the desired behavior is the same only without the hack.

Change-Id: I29df9a566669ce56605169014b9e534b15811368
Reviewed-on: https://go-review.googlesource.com/83335
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-12-11 22:17:36 +00:00
Russ Cox eca02d2d17 cmd/releasebot: initial release process automation
There's more to do here but it's working well enough to be
very helpful. This is a snapshot of the final version used for
Go 1.8.5 and Go 1.9.2. I intend to keep revising it through
the next few point releases and also the main Go 1.10 release.

Change-Id: I4bdbed7ff92735213ff79bb7c4c983074e681ce4
Reviewed-on: https://go-review.googlesource.com/73333
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2017-11-13 15:36:14 +00:00