Commits

William Giokas committed d75519e

dwm doesn't have actual annotated tags

So use the --tags option for git-describe

Comments (0)

Files changed (1)

vcs/dwm-ks-git/PKGBUILD

 pkgname=dwm-ks-git
 _pkgname=dwm
-pkgver=90591fe
+pkgver=6.0.r89.g4bce023
 pkgrel=1
 pkgdesc="A dynamic window manager for X - config by KaiSforza"
 url="http://dwm.suckless.org"
 
 pkgver() {
   cd "$srcdir/$_pkgname"
-  git describe --always --long | sed -E 's/v//;s/([^-]*-g)/r\1/;s/-/./g'
+  git describe --always --long --tags | sed -E 's/v//;s/([^-]*-g)/r\1/;s/-/./g'
 }
 prepare() {
   cd "$srcdir/$_pkgname"