[arch-commits] Commit in prometheus-node-exporter/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Apr 18 18:24:01 UTC 2021
Date: Sunday, April 18, 2021 @ 18:24:00
Author: jelle
Revision: 412867
Make builddate configurable
Modified:
prometheus-node-exporter/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-18 18:23:31 UTC (rev 412866)
+++ PKGBUILD 2021-04-18 18:24:00 UTC (rev 412867)
@@ -2,7 +2,7 @@
pkgname=prometheus-node-exporter
pkgver=1.1.2
-pkgrel=1
+pkgrel=2
pkgdesc='Exporter for machine metrics'
url='https://github.com/prometheus/node_exporter'
@@ -37,7 +37,7 @@
-X github.com/prometheus/common/version.Revision=$pkgver \
-X github.com/prometheus/common/version.Branch=tarball \
-X github.com/prometheus/common/version.BuildUser=someone at builder \
- -X github.com/prometheus/common/version.BuildDate=$(date -d@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
+ -X github.com/prometheus/common/version.BuildDate=$(date -d=@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
.
}
More information about the arch-commits
mailing list