mirror of
https://github.com/hashicorp/packer.git
synced 2026-07-16 12:23:37 -04:00
Merge pull request #3937 from mitchellh/pr-3281
add dot to build name regexp
This commit is contained in:
commit
02ecece3e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue