From 752cde4c05de9b1ee4d7e9fb54c4061ac3f84320 Mon Sep 17 00:00:00 2001 From: Christopher Jolly Date: Tue, 12 Dec 2023 01:57:20 +0800 Subject: [PATCH] Fix tag matching (#191) --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4b1ee28..5235759 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -354,7 +354,7 @@ jobs: - name: NuGet Pack shell: pwsh run: | - $officialBuild = '${{ github.ref }}' -match '(?<=^refs/tags/)\d+\.\d+\.\d+.*$' + $officialBuild = '${{ github.ref }}' -match '(?<=^v)\d+\.\d+\.\d+.*$' $officialVersion = $Matches.0 $wipBuild = '${{ github.ref }}' -match '^refs/heads/.*-wip$' $ciBuildOnly = $wipBuild -or ('${{ github.ref }}' -match '^refs/heads/(?:master|.*-servicing)$')