From 718881bd3557119e0e84ad04d55b604d9a246782 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 3 Oct 2016 17:19:43 +0200 Subject: [PATCH] [release/1.4.16] internal/build: fix git tag env variable for AppVeyor (cherry picked from commit 82e09c17a9e112cf8fe59ec526fc90a228ad3c0b) --- 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 3f63239ca1..cd33550921 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") != "", }