diff options
author | Russ Cox <rsc@golang.org> | 2012-09-24 21:35:20 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-09-24 21:35:20 -0400 |
commit | a2a61e9a96d39a6987f25f51a477707691c031ba (patch) | |
tree | c7b4228fab1baca18336e452e85ddf003f230fb6 /src/cmd/api | |
parent | e02099bf7b8357f335722c1ae80bcdb40b99f197 (diff) | |
download | go-a2a61e9a96d39a6987f25f51a477707691c031ba.tar.gz |
cmd/dist: new version for string for development branch
Remove VERSION, which was forcing version to 'devel'.
Old:
$ go version
go version devel
New:
$ go version
go version devel +0a3866d6cc6b Mon Sep 24 20:08:05 2012 -0400
The date and time (and time zone) is that of the most recent commit,
not the time of the build itself. With some effort we could normalize
the zone, but I don't think it's worth the effort (more C coding,
since Mercurial is unhelpful).
R=r, dsymonds
CC=golang-dev
http://codereview.appspot.com/6569049
Diffstat (limited to 'src/cmd/api')
-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 ad2c5770a..4d888edf1 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") && runtime.Version() != "devel" { + if !strings.Contains(runtime.Version(), "weekly") && !strings.Contains(runtime.Version(), "devel") { if *nextFile != "" { fmt.Printf("Go version is %q, ignoring -next %s\n", runtime.Version(), *nextFile) *nextFile = "" |