mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
internal/build: clarify term refspec
This commit is contained in:
parent
23dd9668d2
commit
c78ea526b8
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ func Env() Environment {
|
||||||
|
|
||||||
case os.Getenv("CI") == "true" && os.Getenv("ETH_BUILDBOT") == "true":
|
case os.Getenv("CI") == "true" && os.Getenv("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 data prefix.
|
// we can distinguish them by the git refspec.
|
||||||
var branch, tag string
|
var branch, tag string
|
||||||
branchSpec := os.Getenv("BUILD_BRANCH")
|
branchSpec := os.Getenv("BUILD_BRANCH")
|
||||||
switch {
|
switch {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue