fix release_name

This commit is contained in:
Kyle Spearrin 2019-03-14 13:22:05 -04:00
parent 863581735c
commit 11ee095fa8
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ init:
$env:REPO_URL = "https://github.com/${env:APPVEYOR_REPO_NAME}.git"
$env:RELEASE_NAME = ""
if($env:APPVEYOR_REPO_TAG -eq "true") {
$env:RELEASE_NAME = "Version ${env:APPVEYOR_REPO_TAG_NAME.TrimStart("v")}"
$tagName = $env:APPVEYOR_REPO_TAG_NAME.TrimStart("v")
$env:RELEASE_NAME = "Version ${tagName}"
}
install: