Merge pull request #3937 from mitchellh/pr-3281
add dot to build name regexp
This commit is contained in:
commit
02ecece3e3
|
@ -18,7 +18,7 @@ import (
|
||||||
const archiveTemplateEntry = ".packer-template"
|
const archiveTemplateEntry = ".packer-template"
|
||||||
|
|
||||||
var (
|
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())
|
errInvalidName = fmt.Errorf("Your build name can only contain these characters: %s", reName.String())
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue