From 4256ab2cc2af7eb99e668407fa968e7a2ecc094a Mon Sep 17 00:00:00 2001 From: Doka Date: Sun, 28 Feb 2016 13:54:13 +0100 Subject: [PATCH] add dot to build name regexp allows build names like debian-8.3 --- command/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/push.go b/command/push.go index e935ff83e..55c76e1ab 100644 --- a/command/push.go +++ b/command/push.go @@ -18,7 +18,7 @@ import ( const archiveTemplateEntry = ".packer-template" var ( - reName = regexp.MustCompile("^[a-zA-Z0-9-_/]+$") + reName = regexp.MustCompile("^[a-zA-Z0-9-_./]+$") errInvalidName = fmt.Errorf("Your build name can only contain these characters: %s", reName.String()) )