summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordr460nf1r32022-09-26 20:53:36 +0200
committerdr460nf1r32022-09-26 20:53:36 +0200
commit5d6453bb9af94f753713adfeacdc09233ea763b0 (patch)
tree24acc35a7198d880a2130f2f117656755a78a6a4
parent64e0accada913b88bcfe6e2cbbf0e2fcc0806baf (diff)
downloadaur-5d6453bb9af94f753713adfeacdc09233ea763b0.tar.gz
Change to --tags for pkgver
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 62b87ec7c6c..519cd6195f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ optdepends=("ananicy-rules-git: community rules")
pkgver() {
cd "$_pkgname"
- git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {