build: add BUILD_ prefix

This commit is contained in:
Felix Lange 2022-09-28 22:26:57 +02:00
parent 040edfec20
commit 7b0b4ad2e6
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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