You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/releasetargets: add openbsd/ppc64 target for Go 1.22 onwards
The release target list has two underlying sources: the allReleases map
and the allPorts map. The former is a small curated map, mostly used to
indicate which ports are first-class, and to set a few port properties.
The latter is generated from 'go tool dist list' output for each major
Go release.
Unfortunately, the logic in TargetsForGo1Point ended up not taking into
account that CL 547935 added allports/go1.22.txt with the openbsd/ppc64
port in it because the allReleases map didn't have an entry for go1.22.
As a result, we haven't been making releases for the openbsd/ppc64 port
as intended. :( Fix this by making sortedReleases consult both sources.
For golang/go#40561.
For golang/go#56001.
Change-Id: Icbabad6f7e2920c1b24a69e309d65aea77c9c461
Reviewed-on: https://go-review.googlesource.com/c/build/+/585216
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Cherry Mui <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
t.Errorf("sortedReleases returned %v (len %d); allReleases map and allports/go1.n.txt files are expected to cover a minimum of 3 releases (prev + curr + tip)", releases, len(releases))
0 commit comments