aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Donovan <adonovan@google.com>2018-11-02 16:56:09 -0400
committerHeschi Kreinick <heschi@google.com>2018-11-02 21:19:34 +0000
commit61e2b75a2f9856e06e05e64603c95809be21ba29 (patch)
treeea481df85eb760873d94c248cd37244d1b5bb689
parentb2c397e53798fad7395fa8c67f66d9200d663ae0 (diff)
downloadgo-61e2b75a2f9856e06e05e64603c95809be21ba29.tar.xz
go/build: add go1.12 release tag
Change-Id: I82e3f9140e5d14f02beef64c474a3ae88fe256e1 Reviewed-on: https://go-review.googlesource.com/c/147219 Run-TryBot: Alan Donovan <adonovan@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--src/go/build/build.go2
-rw-r--r--src/go/build/doc.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/go/build/build.go b/src/go/build/build.go
index 015551d008..91fe4cfc74 100644
--- a/src/go/build/build.go
+++ b/src/go/build/build.go
@@ -298,7 +298,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 = 11 // go1.11
+ const version = 12 // go1.12
for i := 1; i <= version; i++ {
c.ReleaseTags = append(c.ReleaseTags, "go1."+strconv.Itoa(i))
}
diff --git a/src/go/build/doc.go b/src/go/build/doc.go
index d803b8967b..682315cbd6 100644
--- a/src/go/build/doc.go
+++ b/src/go/build/doc.go
@@ -108,6 +108,7 @@
// - "go1.9", from Go version 1.9 onward
// - "go1.10", from Go version 1.10 onward
// - "go1.11", from Go version 1.11 onward
+// - "go1.12", from Go version 1.12 onward
// - any additional words listed in ctxt.BuildTags
//
// There are no build tags for beta or minor releases. Programs that need the