summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBernhard Beuerle2019-11-15 11:02:39 +0100
committerBernhard Beuerle2019-11-15 11:02:39 +0100
commit31f63c64b6162520a107f0f0275a2dc12d303978 (patch)
tree00fc5af777c4763ff44bbee4af0666aacf676fb4 /PKGBUILD
parentd913e85e5aefeadc1660c212b68359cd64931ea7 (diff)
downloadaur-31f63c64b6162520a107f0f0275a2dc12d303978.tar.gz
add --tags to git describe
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2e175deeb37..c47e12cc575 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ source=("git+https://github.com/pubs/pubs.git")
pkgver() {
cd "$srcdir/$pkg"
- git describe | sed 's/^v//; s/-/.r/; s/-/./'
+ git describe --tags | sed 's/^v//; s/-/.r/; s/-/./'
#git rev-parse --short HEAD
#git log -1 --format=%cd.%h --date=short|tr -d -
#cat $srcdir/$pkg/pubs/version.py | awk '{ print $3 }'