Skip to content

Commit 73b521d

Browse files
authored
Fix release notes script to allow -release (#4206)
1 parent d7b6672 commit 73b521d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/write-release-notes.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
param
1616
(
1717
[string] $Path = ".",
18-
[ValidatePattern("^\d+\.\d+\.\d+(-preview-\d{8}-\d{2})?$")][string] $PackageVersion
18+
[ValidatePattern("^\d+\.\d+\.\d+(-(preview|release)-\d{8}-\d{2})?$")][string] $PackageVersion
1919
)
2020

2121
$repoUrl = $(if ((git -C $Path remote -v) -match "upstream") {

0 commit comments

Comments
 (0)