diff options
author | Alexandros Theodotou | 2019-03-28 23:31:03 +0000 |
---|---|---|
committer | Alexandros Theodotou | 2019-03-28 23:31:03 +0000 |
commit | ae2bd2ec96aeae871d432f658227fe4d2d6baec8 (patch) | |
tree | 37d9b9add46f427bd30430476bfa1ac8443dce9a | |
parent | 32a896f4746cc31a368c26fd6d744fce5a8e7580 (diff) | |
download | aur-ae2bd2ec96aeae871d432f658227fe4d2d6baec8.tar.gz |
change version style to show # of commits since latest tag
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = zrythm-git pkgdesc = An highly automated, intuitive, Digital Audio Workstation (DAW) - pkgver = r436.dbacc17 + pkgver = v0.2.052.4.gdbacc17 pkgrel = 1 url = https://git.zrythm.org/zrythm/zrythm arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Alexandros Theodotou <alex@zrythm.org> _pkgname=zrythm pkgname=$_pkgname-git -pkgver=r436.dbacc17 +pkgver=v0.2.052.4.gdbacc17 pkgrel=1 pkgdesc="An highly automated, intuitive, Digital Audio Workstation (DAW)" arch=( 'x86_64' ) @@ -17,7 +17,8 @@ md5sums=('SKIP') pkgver () { cd "$srcdir/$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + #printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "%s" "$(git describe --tags | sed 's/-/\./g')" } build() { |