mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-14 19:20:04 -04:00
add dot to build name regexp
allows build names like debian-8.3
This commit is contained in:
parent
3dc7873b21
commit
4256ab2cc2
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