feat(chainwatch): Add full version to help/startup log via build param
This commit is contained in:
parent
0b498d25f6
commit
b37a39588e
2
Makefile
2
Makefile
@ -148,7 +148,7 @@ BINS+=lotus-fountain
|
|||||||
|
|
||||||
lotus-chainwatch:
|
lotus-chainwatch:
|
||||||
rm -f lotus-chainwatch
|
rm -f lotus-chainwatch
|
||||||
go build -o lotus-chainwatch ./cmd/lotus-chainwatch
|
go build $(GOFLAGS) -o lotus-chainwatch ./cmd/lotus-chainwatch
|
||||||
.PHONY: lotus-chainwatch
|
.PHONY: lotus-chainwatch
|
||||||
BINS+=lotus-chainwatch
|
BINS+=lotus-chainwatch
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ func main() {
|
|||||||
if err := logging.SetLogLevel("*", "info"); err != nil {
|
if err := logging.SetLogLevel("*", "info"); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
log.Info("Starting chainwatch")
|
log.Info("Starting chainwatch", " v", build.UserVersion())
|
||||||
|
|
||||||
app := &cli.App{
|
app := &cli.App{
|
||||||
Name: "lotus-chainwatch",
|
Name: "lotus-chainwatch",
|
||||||
|
Loading…
Reference in New Issue
Block a user