]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: clarify that there are no build tags for minor releases
authorAgniva De Sarker <agnivade@yahoo.co.in>
Wed, 19 Sep 2018 07:16:09 +0000 (12:46 +0530)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 27 Sep 2018 07:39:47 +0000 (07:39 +0000)
Fixes #26458

Change-Id: If932718ca8a2b230ab52495c1a7a82d86ab1325b
Reviewed-on: https://go-review.googlesource.com/136215
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/go/build/doc.go

index 69613e359c24c9303f30e51385060817a4ca719e..d803b8967b6df11798ccb362215c5e06590db2bf 100644 (file)
 //     - "go1.11", from Go version 1.11 onward
 //     - any additional words listed in ctxt.BuildTags
 //
+// There are no build tags for beta or minor releases. Programs that need the
+// minor release number can call runtime.Version.
+//
 // If a file's name, after stripping the extension and a possible _test suffix,
 // matches any of the following patterns:
 //     *_GOOS