From c21527f763f96c17ba5d1dc0b0e27437958f3682 Mon Sep 17 00:00:00 2001 From: Tom Czarniecki Date: Sun, 1 Sep 2024 09:54:39 +1000 Subject: [PATCH] fix broken version tags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9b94513..606fa56 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ GITCOMMIT := $(shell git rev-parse --short HEAD 2>/dev/null) GIT_TAG := $(shell git describe --tags 2>/dev/null) -LDFLAGS := -s -w -X github.com/tomcz/openldap_exporter.commit=${GITCOMMIT} -LDFLAGS := ${LDFLAGS} -X github.com/tomcz/openldap_exporter.tag=${GIT_TAG} +LDFLAGS := -s -w -X main.commit=${GITCOMMIT} +LDFLAGS := ${LDFLAGS} -X main.tag=${GIT_TAG} OUTFILE ?= openldap_exporter .PHONY: precommit