diff options
author | marco44 | 2022-08-22 18:38:41 +0200 |
---|---|---|
committer | marco44 | 2022-08-22 18:38:41 +0200 |
commit | e73c2dc9419536e6b3e585de0145559b7e509a81 (patch) | |
tree | f51cd074f21280e94e39072a8f0631a3184b0970 /PKGBUILD | |
parent | f6c2ec346d4469045f8c850a78ab062163272307 (diff) | |
download | aur-pg_qualstats-git.tar.gz |
Fix git tag detection
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Maintainer: Marco44 (Marc Cousin) <cousinmarc at gmail dot com> pkgname=pg_qualstats-git _gitname=pg_qualstats -pkgver=1.0.4.r3.g7b8f418 +pkgver=2.0.4.1.r6.g66b3037 pkgrel=1 pkgdesc="Capture qualifiers the same way as pg_stat_statement does for statements" arch=('i686' 'x86_64' 'armv7h' 'aarch64') @@ -17,7 +17,7 @@ install='pg_qualstats-git.install' pkgver() { cd $_gitname - git describe --long --tags | sed 's/REL//;s/_/./g;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/.*\///;s/REL//;s/_/./g;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |