add dot to build name regexp

allows build names like debian-8.3
pull/3937/head
Doka 10 years ago committed by Matthew Hooker
parent 3dc7873b21
commit 4256ab2cc2

@ -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…
Cancel
Save