mirror of
https://github.com/golang/go
synced 2024-11-23 09:30:03 -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",
|
"netbsd",
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileRe = regexp.MustCompile(
|
var fileRe = regexp.MustCompile(`^(go[a-z0-9-.]+)\.(src|([a-z0-9]+)-([a-z0-9]+)(?:-([a-z0-9.]+))?)\.(tar\.gz|zip|pkg|msi)$`)
|
||||||
`^(go[a-z0-9-.]+)\.(src|([a-z0-9]+)-([a-z0-9]+)(?:-([a-z0-9.]))?)\.`)
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
flag.Usage = func() {
|
flag.Usage = func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user