Report build & version information in CI

This commit is contained in:
s3lph 2022-10-14 02:22:40 +02:00
parent 6a7837bfc6
commit 0b621bda61

View file

@ -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