[arch-commits] Commit in alertmanager/trunk (PKGBUILD)

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


    Date: Wednesday, April 24, 2019 @ 21:46:24
  Author: demize
Revision: 352101

Use the same BuildDate format as upstream

Modified:
  alertmanager/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-24 21:45:54 UTC (rev 352100)
+++ PKGBUILD	2019-04-24 21:46:24 UTC (rev 352101)
@@ -33,7 +33,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)" \
     -v ./...
 }
 


More information about the arch-commits mailing list