From 958dd998bd4b2d92b169a7cecb38502edd264655 Mon Sep 17 00:00:00 2001 From: Michael Anthony Knyszek Date: Tue, 8 Aug 2023 14:20:29 +0000 Subject: [PATCH] internal/history: add Go 1.21, remove release notes draft notice Also, update the golangorg deployment to use the Go 1.21 release branch. Fixes golang/go#58645. Change-Id: Ic83bbd34da083fd0358e4e345fdb02781cab43d6 Reviewed-on: https://go-review.googlesource.com/c/website/+/517035 Reviewed-by: David Chase Run-TryBot: Michael Knyszek Auto-Submit: Michael Knyszek TryBot-Result: Gopher Robot --- _content/doc/go1.21.html | 9 +-------- cmd/golangorg/cloudbuild.yaml | 2 +- internal/history/release.go | 3 +++ 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/_content/doc/go1.21.html b/_content/doc/go1.21.html index 3755d84f2e..697b55cc09 100644 --- a/_content/doc/go1.21.html +++ b/_content/doc/go1.21.html @@ -14,14 +14,7 @@ main ul li { margin: 0.5em 0; } -

DRAFT RELEASE NOTES — Introduction to Go 1.21

- -

- - Go 1.21 is not yet released. These are work-in-progress - release notes. Go 1.21 is expected to be released in August 2023. - -

+

Introduction to Go 1.21

The latest Go release, version 1.21, arrives six months after Go 1.20. diff --git a/cmd/golangorg/cloudbuild.yaml b/cmd/golangorg/cloudbuild.yaml index 38ad0cea87..c6edaa6e9b 100644 --- a/cmd/golangorg/cloudbuild.yaml +++ b/cmd/golangorg/cloudbuild.yaml @@ -4,7 +4,7 @@ steps: - name: gcr.io/cloud-builders/git - args: ["clone", "--branch=release-branch.go1.20", "--depth=1", "https://go.googlesource.com/go", "_gotmp"] + args: ["clone", "--branch=release-branch.go1.21", "--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 268be7e81e..e3a35ecf56 100644 --- a/internal/history/release.go +++ b/internal/history/release.go @@ -14,6 +14,9 @@ import "html/template" // // The table is sorted by date, breaking ties with newer versions first. var Releases = []*Release{ + { + Date: Date{2023, 8, 8}, Version: Version{1, 21, 0}, + }, { Date: Date{2023, 8, 1}, Version: Version{1, 20, 7}, Security: &FixSummary{Quantifier: "a", Packages: []string{"crypto/tls"}},