go-ethereum/cmd
Felix Lange 65f3c1b46f
internal/version: use gitCommit injection in version handling code (#25851)
This changes the CI build to store the git commit and date into package
internal/version instead of package main. Doing this essentially merges our
two ways of tracking the go-ethereum version into a single place, achieving
two objectives:

- Bad block reports, which use version.Info(), will now have the git commit
  information even when geth is built in an environment such as
  launchpad.net where git access is unavailable.

- For geth builds created by `go build ./cmd/geth` (i.e. not using `go run
  build/ci.go install`), git information stored by the go tool is now used
  in the p2p node name as well as in `geth version` and `geth
  version-check`.
2022-09-23 14:08:25 +02:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
bootnode les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
checkpoint-admin internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
clef internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
devp2p internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
ethkey internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
evm internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
faucet internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
geth internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
p2psim internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
puppeth all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
rlpdump all: change format `0x%x` to `%#x` (#25221) 2022-07-04 11:03:32 +03:00
utils cmd/utils: make --authrpc.jwtsecret a DirectoryFlag (#25849) 2022-09-22 15:43:47 +02:00