From 0b621bda619361edf3486c35faaf0ec4d5f067b4 Mon Sep 17 00:00:00 2001 From: s3lph <1375407-s3lph@users.noreply.gitlab.com> Date: Fri, 14 Oct 2022 02:22:40 +0200 Subject: [PATCH] Report build & version information in CI --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c3c867d..abbe6fc 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ LDFLAGS=-s $(LD_VERSION) $(LD_REVISION) $(LD_BRANCH) $(LD_USER) $(LD_DATE) prometheus-dnssec-exporter: go build -tags netgo -ldflags="$(LDFLAGS)" -o prometheus-dnssec-exporter + ./prometheus-dnssec-exporter --version .changes: git log --format='- %s' $$(git describe --tags --abbrev=0 @^)..@ > .changes