build: add BUILD_ prefix
This commit is contained in:
parent
040edfec20
commit
7b0b4ad2e6
|
@ -667,7 +667,7 @@ func doDebianSource(cmdline []string) {
|
||||||
maybeSkipArchive(env)
|
maybeSkipArchive(env)
|
||||||
|
|
||||||
// Import the signing key.
|
// 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 := exec.Command("gpg", "--import")
|
||||||
gpg.Stdin = bytes.NewReader(key)
|
gpg.Stdin = bytes.NewReader(key)
|
||||||
build.MustRun(gpg)
|
build.MustRun(gpg)
|
||||||
|
|
|
@ -92,7 +92,7 @@ func Env() Environment {
|
||||||
IsCronJob: os.Getenv("APPVEYOR_SCHEDULED_BUILD") == "True",
|
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
|
// For buildbot, the branch variable is the branch OR tag, and
|
||||||
// we can distinguish them by the git refspec.
|
// we can distinguish them by the git refspec.
|
||||||
var branch, tag string
|
var branch, tag string
|
||||||
|
|
Loading…
Reference in New Issue