aboutsummaryrefslogtreecommitdiffstats
path: root/internal/build
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-03 23:19:43 +0800
committerFelix Lange <fjl@twurst.com>2016-10-03 23:19:43 +0800
commit82e09c17a9e112cf8fe59ec526fc90a228ad3c0b (patch)
treec9256e7c46019af64fcb989219131a7957011933 /internal/build
parentab7adb0027dbcf09cf75a533be356c1e24c46c90 (diff)
downloaddexon-82e09c17a9e112cf8fe59ec526fc90a228ad3c0b.tar.gz
dexon-82e09c17a9e112cf8fe59ec526fc90a228ad3c0b.tar.zst
dexon-82e09c17a9e112cf8fe59ec526fc90a228ad3c0b.zip
internal/build: fix git tag env variable for AppVeyor
Diffstat (limited to 'internal/build')
-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") != "",
}