diff --git a/build-release.ps1 b/build-release.ps1 index 6cbf78a..91f6d9a 100644 --- a/build-release.ps1 +++ b/build-release.ps1 @@ -22,7 +22,8 @@ [CmdletBinding()] param( [Parameter(Mandatory = $true, Position = 0)] - [ValidatePattern('^v[0-9]+\.[0-9]+$')] + # Accepts two-part (v3.0) or three-part (v3.0.1 hot-fix) tags. + [ValidatePattern('^v[0-9]+\.[0-9]+(\.[0-9]+)?$')] [string]$Tag )