Skip to content

Commit 718881b

Browse files
committed
[release/1.4.16] internal/build: fix git tag env variable for AppVeyor
(cherry picked from commit 82e09c1)
1 parent d1bb89d commit 718881b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)