diff options
author | Emmanuel Gil Peyrot | 2019-12-22 13:39:56 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot | 2019-12-22 13:39:56 +0100 |
commit | e66226d99aa8689e63b557b9c83d6dfe5686c0b6 (patch) | |
tree | d2863acbefe74f56a620d510164e33b31ffa2e1d | |
parent | d346c5d8596dba46175ed7df408bd209e840861c (diff) | |
download | aur-e66226d99aa8689e63b557b9c83d6dfe5686c0b6.tar.gz |
Change the versioning scheme
The latest tag on master had been gajim-1.0.0-beta1 for years, it was
confusing users, so now we ignore the tag and count from the very first
commit instead.
Bump epoch too so that pacman doesn’t think this is a downgrade.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,8 @@ pkgbase = gajim-git pkgdesc = Jabber/XMPP instant messenger client written in Python with GTK+ - pkgver = 1.0.0.beta1.r1944.g9497dce25 + pkgver = r17041.9497dce25 pkgrel = 1 + epoch = 1 url = https://gajim.org/ arch = any license = GPL3 @@ -9,7 +9,8 @@ _name=gajim pkgname="$_name-git" -pkgver=1.0.0.beta1.r1944.g9497dce25 +epoch=1 +pkgver=r17041.9497dce25 pkgrel=1 pkgdesc="Jabber/XMPP instant messenger client written in Python with GTK+" arch=('any') @@ -43,7 +44,7 @@ md5sums=('SKIP') pkgver() { cd $_name - git describe --long --tags | sed 's/^gajim-//;s/\([^-]*-g\)/r\1/;s/-/./g' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { |