diff --git a/Makefile b/Makefile index dfce27d..72a98b5 100755 --- a/Makefile +++ b/Makefile @@ -5,7 +5,9 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir} SYSDDIR=${SYSDDIR_:/%=%} DESTDIR=/ -LDFLAGS=-ldflags "-s -w" -tags osusergo,netgo +VERSION=23.17.0 + +LDFLAGS=-ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo all: ${TARGET}