Skip to content

Commit

Permalink
Release workflow: fix powershell error (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Jul 25, 2024
1 parent e507606 commit 758efe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
$Commit = & git rev-parse --short=8 | Out-String
$SemVer = "0.0.0-$Commit"
}
if (-not $SemVer -matches "^v\d+\.\d+\.\d+(-\w+)?$") {
if (-not $SemVer -match "^v\d+\.\d+\.\d+(-\w+)?$") {
throw "Unexpected SemVer format: $SemVer"
}
Expand Down

0 comments on commit 758efe6

Please sign in to comment.