Merge pull request #3937 from mitchellh/pr-3281

add dot to build name regexp
This commit is contained in:
Matthew Hooker 2016-09-28 15:17:17 -07:00 committed by GitHub
commit 02ecece3e3
1 changed files with 1 additions and 1 deletions

View File

@ -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())
)