Skip to content

Commit 958dd99

Browse files
mknyszekgopherbot
authored andcommitted
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 <[email protected]> Run-TryBot: Michael Knyszek <[email protected]> Auto-Submit: Michael Knyszek <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 315f653 commit 958dd99

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

_content/doc/go1.21.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@
1414
main ul li { margin: 0.5em 0; }
1515
</style>
1616

17-
<h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.21</h2>
18-
19-
<p>
20-
<strong>
21-
Go 1.21 is not yet released. These are work-in-progress
22-
release notes. Go 1.21 is expected to be released in August 2023.
23-
</strong>
24-
</p>
17+
<h2 id="introduction">Introduction to Go 1.21</h2>
2518

2619
<p>
2720
The latest Go release, version 1.21, arrives six months after <a href="/doc/go1.20">Go 1.20</a>.

cmd/golangorg/cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
steps:
66
- name: gcr.io/cloud-builders/git
7-
args: ["clone", "--branch=release-branch.go1.20", "--depth=1", "https://go.googlesource.com/go", "_gotmp"]
7+
args: ["clone", "--branch=release-branch.go1.21", "--depth=1", "https://go.googlesource.com/go", "_gotmp"]
88
- name: gcr.io/cloud-builders/git
99
args: ["archive", "--format=zip", "--output=../_goroot.zip", "HEAD"]
1010
dir: _gotmp

internal/history/release.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import "html/template"
1414
//
1515
// The table is sorted by date, breaking ties with newer versions first.
1616
var Releases = []*Release{
17+
{
18+
Date: Date{2023, 8, 8}, Version: Version{1, 21, 0},
19+
},
1720
{
1821
Date: Date{2023, 8, 1}, Version: Version{1, 20, 7},
1922
Security: &FixSummary{Quantifier: "a", Packages: []string{"crypto/tls"}},

0 commit comments

Comments
 (0)