From 758efe64f0eb7a823ee9d3a6eea79cc2a518b74b Mon Sep 17 00:00:00 2001 From: Tristan Labelle Date: Wed, 24 Jul 2024 22:28:29 -0400 Subject: [PATCH] Release workflow: fix powershell error (#217) --- .github/workflows/release-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index a385cb11..707240f5 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -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" }