x/build/cmd/releasebot: build release binary in module mode #36950
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
modules
NeedsFix
The path to resolution is known, but the work has not been done.
Projects
Milestone
In the following method:
The
golang.org/x/build/cmd/release
binary is built explicitly in GOPATH mode, with a clean, deterministic GOPATH workspace.releasebot
should be updated to buildrelease
binary in module mode.Making the change may result in different versions of its dependencies being used:
We should confirm that making this change won't influence a release negatively, and do the switch.
Building the
release
binary should continue to be reproducible and unaffected by user's local environment. This can be done by overriding environment variables from environment with explicit ones, as it was done when building in GOPATH mode:The text was updated successfully, but these errors were encountered: