Fix version compiled into debian signaldctl
This commit is contained in:
parent
5b98b6b136
commit
474897ea53
1 changed files with 1 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -3,7 +3,7 @@
|
||||||
export DH_GOLANG_EXCLUDES := tools/
|
export DH_GOLANG_EXCLUDES := tools/
|
||||||
|
|
||||||
PKG := gitlab.com/signald/signald-go
|
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.Branch=$(shell debian/get-branch.sh)
|
||||||
GO_LDFLAGS += -X $(PKG)/cmd/signaldctl/common.Commit=$(CI_BUILD_REF)
|
GO_LDFLAGS += -X $(PKG)/cmd/signaldctl/common.Commit=$(CI_BUILD_REF)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue