mirror of
https://github.com/golang/go
synced 2024-11-18 10:54:40 -07:00
cmd/api: recognize version "devel" as dev. branch and apply -next
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6476066
This commit is contained in:
parent
5e8de365dc
commit
f653dfeb49
@ -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 = ""
|
||||
|
Loading…
Reference in New Issue
Block a user