diff options
| author | Shenghou Ma <minux.ma@gmail.com> | 2012-08-28 04:03:27 +0800 |
|---|---|---|
| committer | Shenghou Ma <minux.ma@gmail.com> | 2012-08-28 04:03:27 +0800 |
| commit | f653dfeb498b96c72fbad92ef3dab2887435230f (patch) | |
| tree | 076d2330becef841555ca9de1d91c3dc5cb2ec30 /src | |
| parent | 5e8de365dced2d35975361760c6df9e4357fd6b9 (diff) | |
| download | go-f653dfeb498b96c72fbad92ef3dab2887435230f.tar.xz | |
cmd/api: recognize version "devel" as dev. branch and apply -next
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6476066
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/api/goapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index ad1c6bb8ca..992762602e 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -100,7 +100,7 @@ func setContexts() { func main() { flag.Parse() - if !strings.Contains(runtime.Version(), "weekly") { + if !strings.Contains(runtime.Version(), "weekly") && runtime.Version() != "devel" { if *nextFile != "" { fmt.Printf("Go version is %q, ignoring -next %s\n", runtime.Version(), *nextFile) *nextFile = "" |
