diff options
author | Felix Lange <fjl@twurst.com> | 2016-10-04 02:28:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 02:28:04 +0800 |
commit | a7cc3248fe3ecb3439d0b69f5823f294b2854886 (patch) | |
tree | c9256e7c46019af64fcb989219131a7957011933 | |
parent | ab7adb0027dbcf09cf75a533be356c1e24c46c90 (diff) | |
parent | 82e09c17a9e112cf8fe59ec526fc90a228ad3c0b (diff) | |
download | dexon-a7cc3248fe3ecb3439d0b69f5823f294b2854886.tar dexon-a7cc3248fe3ecb3439d0b69f5823f294b2854886.tar.gz dexon-a7cc3248fe3ecb3439d0b69f5823f294b2854886.tar.bz2 dexon-a7cc3248fe3ecb3439d0b69f5823f294b2854886.tar.lz dexon-a7cc3248fe3ecb3439d0b69f5823f294b2854886.tar.xz dexon-a7cc3248fe3ecb3439d0b69f5823f294b2854886.tar.zst dexon-a7cc3248fe3ecb3439d0b69f5823f294b2854886.zip |
Merge pull request #3082 from fjl/build-fix-tag-appveyor
internal/build: fix git tag env variable for AppVeyor
-rw-r--r-- | internal/build/env.go | 2 |
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") != "", } |