[arch-commits] Commit in prometheus-node-exporter/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Wed Apr 24 21:47:25 UTC 2019


    Date: Wednesday, April 24, 2019 @ 21:47:23
  Author: demize
Revision: 352102

Use the same BuildDate format as upstream

Modified:
  prometheus-node-exporter/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-24 21:46:24 UTC (rev 352101)
+++ PKGBUILD	2019-04-24 21:47:23 UTC (rev 352102)
@@ -43,7 +43,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=$SOURCE_DATE_EPOCH" \
+      -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