Skip to content

Commit b8b6d8a

Browse files
committed
Update build script to use APPVEYOR_REPO_TAG_NAME when publishing official tagged releases
1 parent cdae40c commit b8b6d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (Test-Path Env:\APPVEYOR_BUILD_VERSION)
3333

3434
if ($env:APPVEYOR_REPO_TAG -eq "True")
3535
{
36-
$Version = "$env:APPVEYOR_REPO_BRANCH".Substring(1) # trim leading "v"
36+
$Version = "$env:APPVEYOR_REPO_TAG_NAME".Substring(1) # trim leading "v"
3737
Write-Diagnostic "Setting version based on tag to $Version"
3838
}
3939

0 commit comments

Comments
 (0)