mirror of
https://github.com/golang/go
synced 2024-11-12 02:50:25 -07:00
gobuilder: prefix the tarball with 'go.', tweak release regexp
R=rsc CC=golang-dev https://golang.org/cl/3775047
This commit is contained in:
parent
15cb7ed34f
commit
a4bade8592
@ -47,7 +47,7 @@ var (
|
||||
|
||||
var (
|
||||
goroot string
|
||||
releaseRegexp = regexp.MustCompile(`^release\.[0-9\-]+`)
|
||||
releaseRegexp = regexp.MustCompile(`^release\.[0-9\-.]+`)
|
||||
benchRequests vector.Vector
|
||||
)
|
||||
|
||||
@ -312,7 +312,7 @@ func (b *Builder) buildCommit(c Commit) (err os.Error) {
|
||||
return fmt.Errorf("clean.bash: %s", err)
|
||||
}
|
||||
// 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")
|
||||
if err != nil {
|
||||
return fmt.Errorf("tar: %s", err)
|
||||
|
Loading…
Reference in New Issue
Block a user