Report build & version information in CI
This commit is contained in:
parent
6a7837bfc6
commit
0b621bda61
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -11,6 +11,7 @@ LDFLAGS=-s $(LD_VERSION) $(LD_REVISION) $(LD_BRANCH) $(LD_USER) $(LD_DATE)
|
||||||
|
|
||||||
prometheus-dnssec-exporter:
|
prometheus-dnssec-exporter:
|
||||||
go build -tags netgo -ldflags="$(LDFLAGS)" -o prometheus-dnssec-exporter
|
go build -tags netgo -ldflags="$(LDFLAGS)" -o prometheus-dnssec-exporter
|
||||||
|
./prometheus-dnssec-exporter --version
|
||||||
|
|
||||||
.changes:
|
.changes:
|
||||||
git log --format='- %s' $$(git describe --tags --abbrev=0 @^)..@ > .changes
|
git log --format='- %s' $$(git describe --tags --abbrev=0 @^)..@ > .changes
|
||||||
|
|
Loading…
Reference in a new issue