aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-03 23:19:43 +0800
committerFelix Lange <fjl@twurst.com>2016-10-06 22:25:17 +0800
commit718881bd3557119e0e84ad04d55b604d9a246782 (patch)
treefb752f591d899bcf6e7d539f6146cc82edf183f5
parentd1bb89d46d5baeceb6f2657ecf25310091cd00c9 (diff)
downloadgo-tangerine-718881bd3557119e0e84ad04d55b604d9a246782.tar
go-tangerine-718881bd3557119e0e84ad04d55b604d9a246782.tar.gz
go-tangerine-718881bd3557119e0e84ad04d55b604d9a246782.tar.bz2
go-tangerine-718881bd3557119e0e84ad04d55b604d9a246782.tar.lz
go-tangerine-718881bd3557119e0e84ad04d55b604d9a246782.tar.xz
go-tangerine-718881bd3557119e0e84ad04d55b604d9a246782.tar.zst
go-tangerine-718881bd3557119e0e84ad04d55b604d9a246782.zip
[release/1.4.16] internal/build: fix git tag env variable for AppVeyor
(cherry picked from commit 82e09c17a9e112cf8fe59ec526fc90a228ad3c0b)
-rw-r--r--internal/build/env.go2
1 files changed, 1 insertions, 1 deletions
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") != "",
}