mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 21:07:17 +00:00
Merge pull request #3082 from fjl/build-fix-tag-appveyor
internal/build: fix git tag env variable for AppVeyor
This commit is contained in:
commit
a7cc3248fe
@ -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…
Reference in New Issue
Block a user