From d026117052c350d37294789770d7920ec631fb7d Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Mon, 5 Dec 2022 15:24:14 +0100 Subject: [PATCH] Version proper tags when greater than 10 --- .SRCINFO | 4 ++-- PKGBUILD | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 591a6cb..1e2a762 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = awl-dns-git pkgdesc = A DNS client - pkgver = 0.5.8.r10.ga64a260 - pkgrel = 2 + pkgver = 0.5.10.r3.g7e7c88d + pkgrel = 1 url = https://git.froth.zone/sam/awl arch = i686 arch = pentium4 diff --git a/PKGBUILD b/PKGBUILD index b4490f3..fc05cd6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -19,7 +19,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" - printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')" + printf "%s" "$(git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')" } build() {