From 7cfcd2f87a13243004cd343d6ad7c0b4c7b266f6 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 18 Nov 2013 13:30:25 +1100 Subject: [PATCH] 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 --- misc/dist/bindist.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/dist/bindist.go b/misc/dist/bindist.go index 223d2dc177..cd0ff7fee7 100644 --- a/misc/dist/bindist.go +++ b/misc/dist/bindist.go @@ -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() { -- 2.50.0