Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit c21527f

Browse files
committed
fix broken version tags
1 parent 3f02d59 commit c21527f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
GITCOMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
22
GIT_TAG := $(shell git describe --tags 2>/dev/null)
33

4-
LDFLAGS := -s -w -X github.com/tomcz/openldap_exporter.commit=${GITCOMMIT}
5-
LDFLAGS := ${LDFLAGS} -X github.com/tomcz/openldap_exporter.tag=${GIT_TAG}
4+
LDFLAGS := -s -w -X main.commit=${GITCOMMIT}
5+
LDFLAGS := ${LDFLAGS} -X main.tag=${GIT_TAG}
66
OUTFILE ?= openldap_exporter
77

88
.PHONY: precommit

0 commit comments

Comments
 (0)