1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-29 07:59:42 +01:00

fix release_name

This commit is contained in:
Kyle Spearrin 2019-03-14 13:22:05 -04:00
parent 863581735c
commit 11ee095fa8

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: