cmd/releasebot: remove obsolete -trust flag

It's no longer used nor supported after the recently applied
code review requirement changes¹.

¹ https://groups.google.com/g/golang-dev/c/K7oGURi0wTM

Change-Id: Ic3bfcb435c89f56e65234b41cc1553d32a60bcef
Reviewed-on: https://go-review.googlesource.com/c/build/+/399160
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Dmitri Shuralyov 2022-04-12 10:50:42 -04:00 коммит произвёл Gopher Robot
Родитель 993f2c6f22
Коммит 17174352ed
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -225,7 +225,7 @@ consider the following steps:
# create files displayed in the log above
git add .
git commit -m "dl: add goX.Y.Z and goX.A.B"
git codereview mail -trybot -trust
git codereview mail -trybot
Discuss with the secondary release coordinator as needed.`, versions, err)
}
@ -744,7 +744,7 @@ func (w *Work) writeVersion() (changeID string) {
if dryRun {
fmt.Printf("\n### VERSION commit\n\n%s\n", r.runOut("git", "show", "HEAD"))
} else {
r.run("git", "codereview", "mail", "-trybot", "-trust")
r.run("git", "codereview", "mail", "-trybot")
}
return
}