File promu.yml.patch of Package prometheus-apache_exporter
--- a/.promu.yml 2024-04-15 08:04:56.158853639 +0200
+++ b/.promu.yml 2024-04-15 08:09:43.924034547 +0200
@@ -6,8 +6,9 @@
repository:
path: github.com/Lusitaniae/apache_exporter
build:
- flags: -a -tags netgo
+ flags: -a -tags netgo -buildmode=pie
ldflags: |
+ -s -w
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}
-X github.com/prometheus/common/version.Branch={{.Branch}}