Explorar o código

internal/build: fix git tag env variable for AppVeyor

Felix Lange %!s(int64=9) %!d(string=hai) anos
pai
achega
82e09c17a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/build/env.go

+ 1 - 1
internal/build/env.go

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