mirror of
https://github.com/golang/go.git
synced 2025-11-01 01:00:56 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue