]> Cypherpunks repositories - gostls13.git/commitdiff
misc/dist: fix file regexp
authorAndrew Gerrand <adg@golang.org>
Mon, 18 Nov 2013 02:30:25 +0000 (13:30 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 18 Nov 2013 02:30:25 +0000 (13:30 +1100)
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

misc/dist/bindist.go

index 223d2dc1770c42bc4b3360395e2b333c7bb8b446..cd0ff7fee7280c33c5266c49cefa7f816a924d7f 100644 (file)
@@ -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() {