mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-02 10:03:45 +00:00
ci: add the missing gitDate build meta
This commit is contained in:
parent
aa3cc05170
commit
ac9cf04f62
2 changed files with 2 additions and 1 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -35,4 +35,4 @@ jobs:
|
|||
version: v1.42.1
|
||||
only-new-issues: true
|
||||
skip-pkg-cache: true
|
||||
skip-build-cache: true:w
|
||||
skip-build-cache: true
|
||||
|
|
@ -109,6 +109,7 @@ func LocalEnv() Environment {
|
|||
commitRe, _ := regexp.Compile("^([0-9a-f]{40})$")
|
||||
if commit := commitRe.FindString(head); commit != "" && env.Commit == "" {
|
||||
env.Commit = commit
|
||||
env.Date = getDate(commit)
|
||||
}
|
||||
return env
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue