Skip to content

Commit

Permalink
Fix release notes script to allow -release (#4206)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink authored Dec 15, 2022
1 parent d7b6672 commit 73b521d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/write-release-notes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
param
(
[string] $Path = ".",
[ValidatePattern("^\d+\.\d+\.\d+(-preview-\d{8}-\d{2})?$")][string] $PackageVersion
[ValidatePattern("^\d+\.\d+\.\d+(-(preview|release)-\d{8}-\d{2})?$")][string] $PackageVersion
)

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

0 comments on commit 73b521d

Please sign in to comment.