1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-16 04:44:55 +02:00

debian/rules pass $DEB_VERSION as VersionString to linker.

This commit is contained in:
Henrik Hautakoski 2022-08-22 13:21:03 +02:00
parent 189b4f2207
commit e2d3e3e59f
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

2
debian/rules vendored
View file

@ -2,7 +2,7 @@
include /usr/share/dpkg/default.mk
INSTALL_FLAGS := PREFIX=/usr GOOS=linux GOBUILDFLAGS="-v --buildmode=pie -ldflags=\"-v -s -w\""
INSTALL_FLAGS := PREFIX=/usr GOOS=linux GOBUILDFLAGS="-v --buildmode=pie -ldflags=\"-v -s -w -X main.VersionString=$(DEB_VERSION)\""
%:
dh $@ -P debian/pkgroot