Skip to content

Commit 0939360

Browse files
committed
gh actions
1 parent 2b84983 commit 0939360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/v2_Release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- run: |
1515
# This sets the nuget version to the release tag version if one is found
1616
Write-Verbose "Setting the release version to the tag name..." -Verbose
17-
$tag = $Env:BUILD_SOURCEBRANCH
17+
$tag = $Env:GITHUB_REF
1818
Write-Verbose "The git branch is $tag" -Verbose
1919
$version = $tag.Substring($tag.IndexOf("release-v") + "release-v".Length)
2020
Write-Verbose "The tag version is $version" -Verbose

0 commit comments

Comments
 (0)