File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11PKG := github.com/lightninglabs/lightning-terminal
22ESCPKG := github.com\/lightninglabs\/lightning-terminal
33LND_PKG := github.com/lightningnetwork/lnd
4+ LOOP_PKG := github.com/lightninglabs/loop
45
56LINT_PKG := github.com/golangci/golangci-lint/cmd/golangci-lint
67GOVERALLS_PKG := github.com/mattn/goveralls
@@ -16,6 +17,12 @@ STATIK_BIN := $(GO_BIN)/statik
1617COMMIT := $(shell git describe --abbrev=40 --dirty --tags)
1718COMMIT_HASH := $(shell git rev-parse HEAD)
1819
20+ LOOP_COMMIT := $(shell cat go.mod | \
21+ grep $(LOOP_PKG ) | \
22+ head -n1 | \
23+ awk -F " " '{ print $$2 }' | \
24+ awk -F "/" '{ print $$1 }')
25+
1926LINT_COMMIT := v1.18.0
2027GOACC_COMMIT := ddc355013f90fea78d83d3a6c71f1d37ac07ecd5
2128
@@ -44,7 +51,8 @@ include make/release_flags.mk
4451make_ldflags = $(2 ) -X $(LND_PKG ) /build.Commit=lightning-terminal-$(COMMIT ) \
4552 -X $(LND_PKG ) /build.CommitHash=$(COMMIT_HASH ) \
4653 -X $(LND_PKG ) /build.GoVersion=$(GOVERSION ) \
47- -X $(LND_PKG ) /build.RawTags=$(shell echo $(1 ) | sed -e 's/ /,/g')
54+ -X $(LND_PKG ) /build.RawTags=$(shell echo $(1 ) | sed -e 's/ /,/g') \
55+ -X $(LOOP_PKG ) .Commit=$(LOOP_COMMIT )
4856
4957LDFLAGS := $(call make_ldflags, $(LND_RELEASE_TAGS ) )
5058
You can’t perform that action at this time.
0 commit comments