Skip to content

Commit

Permalink
build/ci: inject core package with gitCommit and gitDate
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Sep 9, 2022
1 parent 5529538 commit 440eb2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/ci.go
Expand Up @@ -257,6 +257,8 @@ func buildFlags(env build.Environment, staticLinking bool, buildTags []string) (
if env.Commit != "" {
ld = append(ld, "-X", "main.gitCommit="+env.Commit)
ld = append(ld, "-X", "main.gitDate="+env.Date)
ld = append(ld, "-X", "github.com/ethereum/go-ethereum/core.gitCommit="+env.Commit)
ld = append(ld, "-X", "github.com/ethereum/go-ethereum/core.gitDate="+env.Date)
}
// Strip DWARF on darwin. This used to be required for certain things,
// and there is no downside to this, so we just keep doing it.
Expand Down

0 comments on commit 440eb2d

Please sign in to comment.