summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandros Theodotou2019-03-28 23:31:03 +0000
committerAlexandros Theodotou2019-03-28 23:31:03 +0000
commitae2bd2ec96aeae871d432f658227fe4d2d6baec8 (patch)
tree37d9b9add46f427bd30430476bfa1ac8443dce9a
parent32a896f4746cc31a368c26fd6d744fce5a8e7580 (diff)
downloadaur-ae2bd2ec96aeae871d432f658227fe4d2d6baec8.tar.gz
change version style to show # of commits since latest tag
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3cb005e771ef..894428edc334 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 106fbafdec06..16e0ee487298 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {