Commit f653dfeb authored by Shenghou Ma's avatar Shenghou Ma

cmd/api: recognize version "devel" as dev. branch and apply -next

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6476066
parent 5e8de365
......@@ -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 = ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment