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)$')