[release/1.4.16] internal/build: fix git tag env variable for AppVeyor

(cherry picked from commit 82e09c17a9)
pull/3098/head
Felix Lange 8 years ago
parent d1bb89d46d
commit 718881bd35
  1. 2
      internal/build/env.go

@ -65,7 +65,7 @@ func Env() Environment {
Repo: os.Getenv("APPVEYOR_REPO_NAME"), Repo: os.Getenv("APPVEYOR_REPO_NAME"),
Commit: os.Getenv("APPVEYOR_REPO_COMMIT"), Commit: os.Getenv("APPVEYOR_REPO_COMMIT"),
Branch: os.Getenv("APPVEYOR_REPO_BRANCH"), 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"), Buildnum: os.Getenv("APPVEYOR_BUILD_NUMBER"),
IsPullRequest: os.Getenv("APPVEYOR_PULL_REQUEST_NUMBER") != "", IsPullRequest: os.Getenv("APPVEYOR_PULL_REQUEST_NUMBER") != "",
} }

Loading…
Cancel
Save