doc: add CherryPickApproved filter to Release History links

Not all closed issues in a given minor milestone are included in that
release, only the ones that have been labeled as CherryPickApproved are.

Update the links to the GitHub issue tracker to include a filter on the
CherryPickApproved label, so that the default view shows only the
backports that were included in a given release. This should more useful
to most people than seeing all backports (considered and approved).

Do this only for Go 1.9.1 and newer releases, as that is when we started
using the CherryPickCandidate and CherryPickApproved labels.

Fixes #35988

Change-Id: I51e07c1bc3ab9c4a5744e8f668c5470adf78bffe
Reviewed-on: https://go-review.googlesource.com/c/go/+/209918
Reviewed-by: Alexander Rakoczy <alex@golang.org>
diff --git a/doc/devel/release.html b/doc/devel/release.html
index 3592625..c3f77f3 100644
--- a/doc/devel/release.html
+++ b/doc/devel/release.html
@@ -35,14 +35,14 @@
 <p>
 go1.13.1 (released 2019/09/25) includes security fixes to the
 <code>net/http</code> and <code>net/textproto</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.1">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.1+label%3ACherryPickApproved">Go
 1.13.1 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.13.2 (released 2019/10/17) includes security fixes to the
 <code>crypto/dsa</code> package and the compiler.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.2">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.2+label%3ACherryPickApproved">Go
 1.13.2 milestone</a> on our issue tracker for details.
 </p>
 
@@ -50,7 +50,7 @@
 go1.13.3 (released 2019/10/17) includes fixes to the go command,
 the toolchain, the runtime, <code>syscall</code>, <code>net</code>,
 <code>net/http</code>, and <code>crypto/ecdsa</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.3">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.3+label%3ACherryPickApproved">Go
 1.13.3 milestone</a> on our issue tracker for details.
 </p>
 
@@ -59,14 +59,14 @@
 <code>syscall</code> packages. It also fixes an issue on macOS 10.15 Catalina
 where the non-notarized installer and binaries were being
 <a href="https://golang.org/issue/34986">rejected by Gatekeeper</a>.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.4">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.4+label%3ACherryPickApproved">Go
 1.13.4 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.13.5 (released 2019/12/04) includes fixes to the go command, the runtime,
 the linker, and the <code>net/http</code> package. See the
-<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.5">Go
+<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.5+label%3ACherryPickApproved">Go
 1.13.5 milestone</a> on our issue tracker for details.
 </p>
 
@@ -83,7 +83,7 @@
 go1.12.1 (released 2019/03/14) includes fixes to cgo, the compiler, the go
 command, and the <code>fmt</code>, <code>net/smtp</code>, <code>os</code>,
 <code>path/filepath</code>, <code>sync</code>, and <code>text/template</code>
-packages. See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.1">Go
+packages. See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.1+label%3ACherryPickApproved">Go
 1.12.1 milestone</a> on our issue tracker for details.
 </p>
 
@@ -91,7 +91,7 @@
 go1.12.2 (released 2019/04/05) includes fixes to the compiler, the go
 command, the runtime, and the <code>doc</code>, <code>net</code>,
 <code>net/http/httputil</code>, and <code>os</code> packages. See the
-<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.2">Go
+<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.2+label%3ACherryPickApproved">Go
 1.12.2 milestone</a> on our issue tracker for details.
 </p>
 
@@ -112,7 +112,7 @@
 <p>
 go1.12.5 (released 2019/05/06) includes fixes to the compiler, the linker,
 the go command, the runtime, and the <code>os</code> package. See the
-<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.5">Go
+<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.5+label%3ACherryPickApproved">Go
 1.12.5 milestone</a> on our issue tracker for details.
 </p>
 
@@ -120,21 +120,21 @@
 go1.12.6 (released 2019/06/11) includes fixes to the compiler, the linker,
 the go command, and the <code>crypto/x509</code>, <code>net/http</code>, and
 <code>os</code> packages. See the
-<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.6">Go
+<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.6+label%3ACherryPickApproved">Go
 1.12.6 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.12.7 (released 2019/07/08) includes fixes to cgo, the compiler,
 and the linker.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.7">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.7+label%3ACherryPickApproved">Go
 1.12.7 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.12.8 (released 2019/08/13) includes security fixes to the
 <code>net/http</code> and <code>net/url</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.8">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.8+label%3ACherryPickApproved">Go
 1.12.8 milestone</a> on our issue tracker for details.
 </p>
 
@@ -148,21 +148,21 @@
 <p>
 go1.12.10 (released 2019/09/25) includes security fixes to the
 <code>net/http</code> and <code>net/textproto</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.10">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.10+label%3ACherryPickApproved">Go
 1.12.10 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.12.11 (released 2019/10/17) includes security fixes to the
 <code>crypto/dsa</code> package.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.11">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.11+label%3ACherryPickApproved">Go
 1.12.11 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.12.12 (released 2019/10/17) includes fixes to the go command,
 runtime, <code>syscall</code> and <code>net</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.12">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.12+label%3ACherryPickApproved">Go
 1.12.12 milestone</a> on our issue tracker for details.
 </p>
 
@@ -175,7 +175,7 @@
 
 <p>
 go1.12.14 (released 2019/12/04) includes a fix to the runtime. See
-the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.14">Go
+the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.14+label%3ACherryPickApproved">Go
 1.12.14 milestone</a> on our issue tracker for details.
 </p>
 
@@ -193,7 +193,7 @@
 command, runtime, and the <code>crypto/x509</code>, <code>encoding/json</code>,
 <code>go/types</code>, <code>net</code>, <code>net/http</code>, and
 <code>reflect</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.1">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.1+label%3ACherryPickApproved">Go
 1.11.1 milestone</a> on our issue tracker for details.
 </p>
 
@@ -201,14 +201,14 @@
 go1.11.2 (released 2018/11/02) includes fixes to the compiler, linker,
 documentation, go command, and the <code>database/sql</code> and
 <code>go/types</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.2">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.2+label%3ACherryPickApproved">Go
 1.11.2 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.11.3 (released 2018/12/12) includes three security fixes to "go get" and
 the <code>crypto/x509</code> package.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.3">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.3+label%3ACherryPickApproved">Go
 1.11.3 milestone</a> on our issue tracker for details.
 </p>
 
@@ -225,7 +225,7 @@
 <p>
 go1.11.5 (released 2019/01/23) includes a security fix to the
 <code>crypto/elliptic</code> package.  See
-the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.5">Go
+the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.5+label%3ACherryPickApproved">Go
 1.11.5 milestone</a> on our issue tracker for details.
 </p>
 
@@ -233,14 +233,14 @@
 go1.11.6 (released 2019/03/14) includes fixes to cgo, the compiler, linker,
 runtime, go command, and the <code>crypto/x509</code>, <code>encoding/json</code>,
 <code>net</code>, and <code>net/url</code> packages. See the
-<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.6">Go
+<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.6+label%3ACherryPickApproved">Go
 1.11.6 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.11.7 (released 2019/04/05) includes fixes to the runtime and the
 <code>net</code> packages. See the
-<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.7">Go
+<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.7+label%3ACherryPickApproved">Go
 1.11.7 milestone</a> on our issue tracker for details.
 </p>
 
@@ -260,26 +260,26 @@
 
 <p>
 go1.11.10 (released 2019/05/06) includes fixes to the runtime and the linker.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.10">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.10+label%3ACherryPickApproved">Go
 1.11.10 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.11.11 (released 2019/06/11) includes a fix to the <code>crypto/x509</code> package.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.11">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.11+label%3ACherryPickApproved">Go
 1.11.11 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.11.12 (released 2019/07/08) includes fixes to the compiler and the linker.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.12">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.12+label%3ACherryPickApproved">Go
 1.11.12 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.11.13 (released 2019/08/13) includes security fixes to the
 <code>net/http</code> and <code>net/url</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.13">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.13+label%3ACherryPickApproved">Go
 1.11.13 milestone</a> on our issue tracker for details.
 </p>
 
@@ -297,14 +297,14 @@
 <code>archive/zip</code>, <code>crypto/tls</code>, <code>crypto/x509</code>,
 <code>encoding/json</code>, <code>net</code>, <code>net/http</code>, and
 <code>net/http/pprof</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.1">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.1+label%3ACherryPickApproved">Go
 1.10.1 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.10.2 (released 2018/05/01) includes fixes to the compiler, linker, and go
 command.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.2">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.2+label%3ACherryPickApproved">Go
 1.10.2 milestone</a> on our issue tracker for details.
 </p>
 
@@ -313,7 +313,7 @@
 <code>crypto/tls</code>, <code>crypto/x509</code>, and <code>strings</code> packages.
 In particular, it adds <a href="https://go.googlesource.com/go/+/d4e21288e444d3ffd30d1a0737f15ea3fc3b8ad9">
 minimal support to the go command for the vgo transition</a>.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.3">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.3+label%3ACherryPickApproved">Go
 1.10.3 milestone</a> on our issue tracker for details.
 </p>
 
@@ -321,14 +321,14 @@
 go1.10.4 (released 2018/08/24) includes fixes to the go command, linker, and the
 <code>net/http</code>, <code>mime/multipart</code>, <code>ld/macho</code>,
 <code>bytes</code>, and <code>strings</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.4">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.4+label%3ACherryPickApproved">Go
 1.10.4 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.10.5 (released 2018/11/02) includes fixes to the go command, linker, runtime
 and the <code>database/sql</code> package.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.5">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.5+label%3ACherryPickApproved">Go
 1.10.5 milestone</a> on our issue tracker for details.
 </p>
 
@@ -336,7 +336,7 @@
 go1.10.6 (released 2018/12/12) includes three security fixes to "go get" and
 the <code>crypto/x509</code> package.
 It contains the same fixes as Go 1.11.3 and was released at the same time.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.6">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.6+label%3ACherryPickApproved">Go
 1.10.6 milestone</a> on our issue tracker for details.
 </p>
 
@@ -351,7 +351,7 @@
 <p>
 go1.10.8 (released 2019/01/23) includes a security fix to the
 <code>crypto/elliptic</code> package.  See
-the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.8">Go
+the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.8+label%3ACherryPickApproved">Go
 1.10.8 milestone</a> on our issue tracker for details.
 </p>
 
@@ -366,7 +366,7 @@
 
 <p>
 go1.9.1 (released 2017/10/04) includes two security fixes.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.1">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.1+label%3ACherryPickApproved">Go
 1.9.1 milestone</a> on our issue tracker for details.
 </p>
 
@@ -377,7 +377,7 @@
 and <code>net/smtp</code> packages.
 It includes a fix to a bug introduced in Go 1.9.1 that broke <code>go</code> <code>get</code>
 of non-Git repositories under certain conditions.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.2">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.2+label%3ACherryPickApproved">Go
 1.9.2 milestone</a> on our issue tracker for details.
 </p>
 
@@ -385,26 +385,26 @@
 go1.9.3 (released 2018/01/22) includes fixes to the compiler, runtime,
 and the <code>database/sql</code>, <code>math/big</code>, <code>net/http</code>,
 and <code>net/url</code> packages.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.3">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.3+label%3ACherryPickApproved">Go
 1.9.3 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.9.4 (released 2018/02/07) includes a security fix to “go get”.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.4">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.4+label%3ACherryPickApproved">Go
 1.9.4</a> milestone on our issue tracker for details.
 </p>
 
 <p>
 go1.9.5 (released 2018/03/28) includes fixes to the compiler, go command, and
 <code>net/http/pprof</code> package.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.5">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.5+label%3ACherryPickApproved">Go
 1.9.5 milestone</a> on our issue tracker for details.
 </p>
 
 <p>
 go1.9.6 (released 2018/05/01) includes fixes to the compiler and go command.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.6">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.6+label%3ACherryPickApproved">Go
 1.9.6 milestone</a> on our issue tracker for details.
 </p>
 
@@ -413,7 +413,7 @@
 <code>crypto/x509</code>, and <code>strings</code> packages.
 In particular, it adds <a href="https://go.googlesource.com/go/+/d4e21288e444d3ffd30d1a0737f15ea3fc3b8ad9">
 minimal support to the go command for the vgo transition</a>.
-See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.7">Go
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.7+label%3ACherryPickApproved">Go
 1.9.7 milestone</a> on our issue tracker for details.
 </p>