We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b84983 commit 0939360Copy full SHA for 0939360
.github/workflows/v2_Release.yml
@@ -14,7 +14,7 @@ jobs:
14
- run: |
15
# This sets the nuget version to the release tag version if one is found
16
Write-Verbose "Setting the release version to the tag name..." -Verbose
17
- $tag = $Env:BUILD_SOURCEBRANCH
+ $tag = $Env:GITHUB_REF
18
Write-Verbose "The git branch is $tag" -Verbose
19
$version = $tag.Substring($tag.IndexOf("release-v") + "release-v".Length)
20
Write-Verbose "The tag version is $version" -Verbose
0 commit comments