internal/history: remove draft notice, update deployment, add Go 1.22
remove draft notice from go1.22.html
update deployment for golangorg to Go 1.22
add Go 1.22 to history/release.go
Change-Id: I1d24f46785548b798e2fc2e680d7624e85c94e89
Reviewed-on: https://go-review.googlesource.com/c/website/+/562255
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/_content/doc/go1.22.html b/_content/doc/go1.22.html
index c8b8627..f260e1f 100644
--- a/_content/doc/go1.22.html
+++ b/_content/doc/go1.22.html
@@ -14,13 +14,13 @@
main ul li { margin: 0.5em 0; }
</style>
-<h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.22</h2>
+<h2 id="introduction">Introduction to Go 1.22</h2>
<p>
- <strong>
- Go 1.22 is not yet released. These are work-in-progress
- release notes. Go 1.22 is expected to be released in February 2024.
- </strong>
+ The latest Go release, version 1.22, arrives six months after <a href="/doc/go1.21">Go 1.21</a>.
+ Most of its changes are in the implementation of the toolchain, runtime, and libraries.
+ As always, the release maintains the Go 1 <a href="/doc/go1compat">promise of compatibility</a>.
+ We expect almost all Go programs to continue to compile and run as before.
</p>
<h2 id="language">Changes to the language</h2>
diff --git a/cmd/golangorg/cloudbuild.yaml b/cmd/golangorg/cloudbuild.yaml
index 890e7c7..6cd2f60 100644
--- a/cmd/golangorg/cloudbuild.yaml
+++ b/cmd/golangorg/cloudbuild.yaml
@@ -5,7 +5,7 @@
steps:
# Clone go repo to _goroot.zip for use by uploaded app.
- name: gcr.io/cloud-builders/git
- args: ["clone", "--branch=release-branch.go1.21", "--depth=1", "https://go.googlesource.com/go", "_gotmp"]
+ args: ["clone", "--branch=release-branch.go1.22", "--depth=1", "https://go.googlesource.com/go", "_gotmp"]
- name: gcr.io/cloud-builders/git
args: ["archive", "--format=zip", "--output=../_goroot.zip", "HEAD"]
dir: _gotmp
diff --git a/internal/history/release.go b/internal/history/release.go
index 68a9adc..97e29da 100644
--- a/internal/history/release.go
+++ b/internal/history/release.go
@@ -15,6 +15,9 @@
// The table is sorted by date, breaking ties with newer versions first.
var Releases = []*Release{
{
+ Date: Date{2024, 2, 6}, Version: Version{1, 22, 0},
+ },
+ {
Date: Date{2024, 2, 6}, Version: Version{1, 21, 7},
Bug: &FixSummary{
Components: []template.HTML{"the compiler", "the <code>go</code> command", "the runtime"},