mirror of
https://github.com/golang/go
synced 2024-11-23 05:50:05 -07:00
misc/dist: fix file regexp
This step makes it possible to upload the -osx10.x binaries separately to their construction (after signing, for example). R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/28160043
This commit is contained in:
parent
bad181e2c2
commit
7cfcd2f87a
3
misc/dist/bindist.go
vendored
3
misc/dist/bindist.go
vendored
@ -117,8 +117,7 @@ var staticLinkAvailable = []string{
|
||||
"netbsd",
|
||||
}
|
||||
|
||||
var fileRe = regexp.MustCompile(
|
||||
`^(go[a-z0-9-.]+)\.(src|([a-z0-9]+)-([a-z0-9]+)(?:-([a-z0-9.]))?)\.`)
|
||||
var fileRe = regexp.MustCompile(`^(go[a-z0-9-.]+)\.(src|([a-z0-9]+)-([a-z0-9]+)(?:-([a-z0-9.]+))?)\.(tar\.gz|zip|pkg|msi)$`)
|
||||
|
||||
func main() {
|
||||
flag.Usage = func() {
|
||||
|
Loading…
Reference in New Issue
Block a user