mirror of
https://github.com/golang/go
synced 2024-11-21 22:34:48 -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 (
|
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) {
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user