diff options
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ pkgname=nautilus-ideviceinfo-git _gitname=nautilus-ideviceinfo -pkgver=0.1.0.74.g93b6551 +pkgver=0.1.0.r74.g93b6551 pkgrel=1 pkgdesc="Show information about your iOS device" arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ pkgver() { cd ${srcdir}/${_gitname} # Use the tag of the last commit - git describe --always | sed 's|-|.|g' + git describe --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' # Use current date # date +%Y%m%d |