Commit a4bade85 authored by Andrew Gerrand's avatar Andrew Gerrand

gobuilder: prefix the tarball with 'go.', tweak release regexp

R=rsc
CC=golang-dev
https://golang.org/cl/3775047
parent 15cb7ed3
...@@ -47,7 +47,7 @@ var ( ...@@ -47,7 +47,7 @@ var (
var ( var (
goroot string goroot string
releaseRegexp = regexp.MustCompile(`^release\.[0-9\-]+`) releaseRegexp = regexp.MustCompile(`^release\.[0-9\-.]+`)
benchRequests vector.Vector benchRequests vector.Vector
) )
...@@ -312,7 +312,7 @@ func (b *Builder) buildCommit(c Commit) (err os.Error) { ...@@ -312,7 +312,7 @@ func (b *Builder) buildCommit(c Commit) (err os.Error) {
return fmt.Errorf("clean.bash: %s", err) return fmt.Errorf("clean.bash: %s", err)
} }
// upload binary release // upload binary release
fn := fmt.Sprintf("%s.%s-%s.tar.gz", release, b.goos, b.goarch) fn := fmt.Sprintf("go.%s.%s-%s.tar.gz", release, b.goos, b.goarch)
err = run(nil, workpath, "tar", "czf", fn, "go") err = run(nil, workpath, "tar", "czf", fn, "go")
if err != nil { if err != nil {
return fmt.Errorf("tar: %s", err) return fmt.Errorf("tar: %s", err)
......
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