0
1
mirror of https://github.com/golang/go synced 2025-10-14 15:34:50 +00:00
Files
go/src/cmd
Michael Matloob fe83d4bcad [release-branch.go1.24] cmd/go/internal/gover: fix ModIsPrerelease for toolchain versions
We forgot to call the IsPrerelease function on FromToolchain(vers)
rather than on vers itself. IsPrerelase expects a version without the
"go" prefix. See the corresponding code in ModIsValid and ModIsPrefix
that call FromToolchain before passing the versions to IsValid and
IsLang respectively.

Fixes #74821

Change-Id: I3cf055e1348e6a9dc0334e414f06fe85eaf78024
Reviewed-on: https://go-review.googlesource.com/c/go/+/691655
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
(cherry picked from commit 69338a335a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/691957
2025-08-20 12:48:03 -07:00
..
2024-09-06 13:23:48 +00:00
2024-09-04 00:52:28 +00:00
2024-10-01 14:55:00 +00:00
2024-09-06 13:25:54 +00:00
2024-09-04 00:52:28 +00:00
2024-12-17 11:19:09 -08:00

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.