internal/build: fix git tag env variable for AppVeyor

This commit is contained in:
Felix Lange 2016-10-03 17:19:43 +02:00
parent ab7adb0027
commit 82e09c17a9

@ -65,7 +65,7 @@ func Env() Environment {
Repo: os.Getenv("APPVEYOR_REPO_NAME"),
Commit: os.Getenv("APPVEYOR_REPO_COMMIT"),
Branch: os.Getenv("APPVEYOR_REPO_BRANCH"),
Tag: os.Getenv("APPVEYOR_REPO_TAG"),
Tag: os.Getenv("APPVEYOR_REPO_TAG_NAME"),
Buildnum: os.Getenv("APPVEYOR_BUILD_NUMBER"),
IsPullRequest: os.Getenv("APPVEYOR_PULL_REQUEST_NUMBER") != "",
}