|
|
|
@ -354,7 +354,7 @@ jobs:
|
|
|
|
- name: NuGet Pack
|
|
|
|
- name: NuGet Pack
|
|
|
|
shell: pwsh
|
|
|
|
shell: pwsh
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
$officialBuild = '${{ github.ref }}' -match '(?<=^refs/tags/)\d+\.\d+\.\d+.*$'
|
|
|
|
$officialBuild = '${{ github.ref }}' -match '(?<=^v)\d+\.\d+\.\d+.*$'
|
|
|
|
$officialVersion = $Matches.0
|
|
|
|
$officialVersion = $Matches.0
|
|
|
|
$wipBuild = '${{ github.ref }}' -match '^refs/heads/.*-wip$'
|
|
|
|
$wipBuild = '${{ github.ref }}' -match '^refs/heads/.*-wip$'
|
|
|
|
$ciBuildOnly = $wipBuild -or ('${{ github.ref }}' -match '^refs/heads/(?:master|.*-servicing)$')
|
|
|
|
$ciBuildOnly = $wipBuild -or ('${{ github.ref }}' -match '^refs/heads/(?:master|.*-servicing)$')
|
|
|
|
|