build: add BUILD_ prefix

pull/26029/head
Felix Lange 2 years ago
parent 040edfec20
commit 7b0b4ad2e6
  1. 2
      build/ci.go
  2. 2
      internal/build/env.go

@ -667,7 +667,7 @@ func doDebianSource(cmdline []string) {
maybeSkipArchive(env)
// Import the signing key.
if key := getenvBase64("PPA_SIGNING_KEY"); len(key) > 0 {
if key := getenvBase64("BUILD_PPA_SIGNING_KEY"); len(key) > 0 {
gpg := exec.Command("gpg", "--import")
gpg.Stdin = bytes.NewReader(key)
build.MustRun(gpg)

@ -92,7 +92,7 @@ func Env() Environment {
IsCronJob: os.Getenv("APPVEYOR_SCHEDULED_BUILD") == "True",
}
case os.Getenv("CI") == "true" && os.Getenv("ETH_BUILDBOT") == "true":
case os.Getenv("BUILD_ETH_BUILDBOT") == "true":
// For buildbot, the branch variable is the branch OR tag, and
// we can distinguish them by the git refspec.
var branch, tag string

Loading…
Cancel
Save