summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Erik Rediger2015-06-09 17:15:35 +0200
committerJan-Erik Rediger2015-06-09 17:15:35 +0200
commitbc38c7c48cac22efb7324940e09238898a7b1d0b (patch)
tree5ac063fb98f61579c8b5b8a3801c9cc66c479564
parent83ffc37d16071d2a730fc1df6bd1549083d11a0d (diff)
downloadaur-bc38c7c48cac22efb7324940e09238898a7b1d0b.tar.gz
[bats-git] bump to latest git commit
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4ee1add74ba3..ab0d62f88506 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bats-git
pkgdesc = Bash Automated Testing System
- pkgver = v0.4.0
+ pkgver = v0.4.0.r5.g955309a
pkgrel = 1
url = https://github.com/sstephenson/bats
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 08a069f674ae..5a0a8c79833c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
pkgname=bats-git
-pkgver=v0.4.0
+pkgver=v0.4.0.r5.g955309a
pkgrel=1
pkgdesc="Bash Automated Testing System"
arch=("any")
@@ -16,7 +16,7 @@ _gitname='bats'
pkgver() {
cd "${srcdir}/${_gitname}"
- git describe --tags | sed 's/-/./g'
+ git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {