Skip to content

Commit

Permalink
Update build script to use APPVEYOR_REPO_TAG_NAME when publishing off…
Browse files Browse the repository at this point in the history
…icial tagged releases
  • Loading branch information
amaitland committed Dec 18, 2014
1 parent cdae40c commit b8b6d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (Test-Path Env:\APPVEYOR_BUILD_VERSION)

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

Expand Down

0 comments on commit b8b6d8a

Please sign in to comment.