Skip to content

Commit

Permalink
go.mod: set go version to 1.22.0
Browse files Browse the repository at this point in the history
The go verison was set to 1.22 but on Go versions 1.21.0 up to 1.21.10,
the toolchain upgrade logic will try to download the release "1.22",
which doesn't exist. Go 1.21.11+ incorporates CL 580217 (cherry-picked
in CL 583797) and will download 1.22.0, so it should be fine, but set
1.22.0 to allow the upgrade for users with older local toolchains.

Change-Id: I9aafaaa389ded3200b15fd3e7bb676610fa958d8
Reviewed-on: https://go-review.googlesource.com/c/mod/+/605935
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Commit-Queue: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
  • Loading branch information
matloob committed Aug 15, 2024
1 parent b1d336c commit 3afcd4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module golang.org/x/mod

go 1.22
go 1.22.0

require golang.org/x/tools v0.13.0 // tagx:ignore

0 comments on commit 3afcd4e

Please sign in to comment.