From be4d74f8d22e573d37a4bf4514aa4320cb62a75d Mon Sep 17 00:00:00 2001 From: "C. Brown" Date: Wed, 8 May 2019 08:44:28 -0500 Subject: cmd, internal/build, docker: advertise commit date in unstable build versions (#19522) * add-date-to unstable * fields-insteadof-split * internal/build: support building with missing git * docker: add git history back to support commit date in version * internal/build: use PR commits hashes for PR builds --- cmd/geth/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/geth/config.go') diff --git a/cmd/geth/config.go b/cmd/geth/config.go index f316380ce..8f0bae822 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -101,7 +101,7 @@ func loadConfig(file string, cfg *gethConfig) error { func defaultNodeConfig() node.Config { cfg := node.DefaultConfig cfg.Name = clientIdentifier - cfg.Version = params.VersionWithCommit(gitCommit) + cfg.Version = params.VersionWithCommit(gitCommit, gitDate) cfg.HTTPModules = append(cfg.HTTPModules, "eth", "shh") cfg.WSModules = append(cfg.WSModules, "eth", "shh") cfg.IPCPath = "geth.ipc" -- cgit v1.2.3