From 82e09c17a9e112cf8fe59ec526fc90a228ad3c0b Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 3 Oct 2016 17:19:43 +0200 Subject: [PATCH] internal/build: fix git tag env variable for AppVeyor --- internal/build/env.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/build/env.go b/internal/build/env.go index 3f63239ca..cd3355092 100644 --- a/internal/build/env.go +++ b/internal/build/env.go @@ -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") != "", }