]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: add go1.13 release tag
authorHerbie Ong <herbie@google.com>
Wed, 20 Feb 2019 19:30:14 +0000 (11:30 -0800)
committerHerbie Ong <herbie@google.com>
Wed, 20 Feb 2019 21:44:53 +0000 (21:44 +0000)
Adding this early in the cycle to start regression testing in the master
toolchain.

Change-Id: Ia151429c4f94efbac0aa41ab6bc16e7462b0e303
Reviewed-on: https://go-review.googlesource.com/c/163082
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/go/build/build.go
src/go/build/doc.go

index 0fa67201f88dc84e1a3230b563688ec5493cf598..94db198764c12aefbdb3441f1f8cca805c09aa53 100644 (file)
@@ -299,7 +299,7 @@ func defaultContext() Context {
        // (perhaps it is the stub to use in that case) should say "+build !go1.x".
        // NOTE: If you add to this list, also update the doc comment in doc.go.
        // NOTE: The last element in ReleaseTags should be the current release.
-       const version = 12 // go1.12
+       const version = 13 // go1.13
        for i := 1; i <= version; i++ {
                c.ReleaseTags = append(c.ReleaseTags, "go1."+strconv.Itoa(i))
        }
index 8e3858feea926de6093fb155f5cf32174724f5fa..f6444c7e051b18f0cde183cc797d2b00e85551a5 100644 (file)
 //     - "go1.10", from Go version 1.10 onward
 //     - "go1.11", from Go version 1.11 onward
 //     - "go1.12", from Go version 1.12 onward
+//     - "go1.13", from Go version 1.13 onward
 //     - any additional words listed in ctxt.BuildTags
 //
 // There are no build tags for beta or minor releases.