Fix version format

I'm doing a bunch of builds every couple of minutes, having it just versioned by
day isn't enough.
This commit is contained in:
Tom Willemse 2024-12-17 22:36:52 -08:00
parent 09d15858e2
commit fdeea51317

View file

@ -1,12 +1,12 @@
pkgname=laminar-config pkgname=laminar-config
pkgver=20241217 pkgver=20241217.2229
pkgrel=1 pkgrel=1
arch=("any") arch=("any")
pkgver() pkgver()
{ {
cd "${srcdir}/${pkgname}" 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() prepare()