Relax versionning, version 8.0.0-alpha.26

This commit is contained in:
Stephan
2017-09-28 11:31:45 +02:00
parent 101ba8f620
commit d32f18f9e7
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ function Set-UmbracoVersion
}
# validate input
$ok = [Regex]::Match($version, "^[0-9]+\.[0-9]+\.[0-9]+(\-[a-z0-9]+)?(\+[0-9]+)?$")
$ok = [Regex]::Match($version, "^[0-9]+\.[0-9]+\.[0-9]+(\-[a-z0-9\.]+)?(\+[0-9]+)?$")
if (-not $ok.Success)
{
Write-Error "Invalid version $version"