From 0773c28ff1bdd1c1f88aed44713a513fde33c6fc Mon Sep 17 00:00:00 2001 From: Christopher Jolly Date: Tue, 12 Dec 2023 09:59:10 +0800 Subject: [PATCH] Another tag finding fix (#192) --- .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 5235759..dba94d5 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 '(?<=^v)\d+\.\d+\.\d+.*$' + $officialBuild = '${{ github.ref }}' -match '(?<=^refs/tags/v)\d+\.\d+\.\d+.*$' $officialVersion = $Matches.0 $wipBuild = '${{ github.ref }}' -match '^refs/heads/.*-wip$' $ciBuildOnly = $wipBuild -or ('${{ github.ref }}' -match '^refs/heads/(?:master|.*-servicing)$')