From 474897ea5330e5ce4dcfe1d75304317e93f56090 Mon Sep 17 00:00:00 2001 From: Finn Date: Sat, 7 Aug 2021 13:43:56 -0700 Subject: [PATCH] Fix version compiled into debian signaldctl --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 5295052..9dae672 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,7 @@ export DH_GOLANG_EXCLUDES := tools/ PKG := gitlab.com/signald/signald-go -GO_LDFLAGS += -X $(PKG)/cmd/signaldctl/common.Version=$(DEB_VERSION) +GO_LDFLAGS += -X $(PKG)/cmd/signaldctl/common.Version=$(./version.sh) GO_LDFLAGS += -X $(PKG)/cmd/signaldctl/common.Branch=$(shell debian/get-branch.sh) GO_LDFLAGS += -X $(PKG)/cmd/signaldctl/common.Commit=$(CI_BUILD_REF)