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:
parent
09d15858e2
commit
fdeea51317
1 changed files with 2 additions and 2 deletions
4
PKGBUILD
4
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()
|
||||
|
|
Loading…
Reference in a new issue