From fdeea51317caf02d3cd788e899a57ddb0ccad579 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 17 Dec 2024 22:36:52 -0800 Subject: [PATCH] Fix version format I'm doing a bunch of builds every couple of minutes, having it just versioned by day isn't enough. --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 5a55f63..d47d8f1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,12 +1,12 @@ pkgname=laminar-config -pkgver=20241217 +pkgver=20241217.2229 pkgrel=1 arch=("any") pkgver() { cd "${srcdir}/${pkgname}" - git --git-dir ../.git log -1 --pretty=format:"%cd" --date=short | sed s/-//g + git log -1 --pretty=format:"%cd" --date=format:"%Y%m%d.%H%M" | sed s/-//g } prepare()