Skip to content

Commit a7cc324

Browse files
authored
Merge pull request bnb-chain#3082 from fjl/build-fix-tag-appveyor
internal/build: fix git tag env variable for AppVeyor
2 parents ab7adb0 + 82e09c1 commit a7cc324

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎internal/build/env.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func Env() Environment {
6565
Repo: os.Getenv("APPVEYOR_REPO_NAME"),
6666
Commit: os.Getenv("APPVEYOR_REPO_COMMIT"),
6767
Branch: os.Getenv("APPVEYOR_REPO_BRANCH"),
68-
Tag: os.Getenv("APPVEYOR_REPO_TAG"),
68+
Tag: os.Getenv("APPVEYOR_REPO_TAG_NAME"),
6969
Buildnum: os.Getenv("APPVEYOR_BUILD_NUMBER"),
7070
IsPullRequest: os.Getenv("APPVEYOR_PULL_REQUEST_NUMBER") != "",
7171
}

0 commit comments

Comments
 (0)