We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7b6672 commit 73b521dCopy full SHA for 73b521d
scripts/write-release-notes.ps1
@@ -15,7 +15,7 @@
15
param
16
(
17
[string] $Path = ".",
18
- [ValidatePattern("^\d+\.\d+\.\d+(-preview-\d{8}-\d{2})?$")][string] $PackageVersion
+ [ValidatePattern("^\d+\.\d+\.\d+(-(preview|release)-\d{8}-\d{2})?$")][string] $PackageVersion
19
)
20
21
$repoUrl = $(if ((git -C $Path remote -v) -match "upstream") {
0 commit comments