Skip to content

Commit 82e09c1

Browse files
committed
internal/build: fix git tag env variable for AppVeyor
1 parent ab7adb0 commit 82e09c1

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)