summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVignesh Krishnamoorthy2016-11-11 09:29:41 +0100
committerVignesh Krishnamoorthy2016-11-11 09:29:41 +0100
commit3bb5974078b2c3ab846d9955ca3581c9f56df8b6 (patch)
treee4a9b1f6db249db5be1a1becd3117de4d684a0a8
parentbc5dcef65864c3d592c2ea80c0b324d0c9870f9a (diff)
downloadaur-3bb5974078b2c3ab846d9955ca3581c9f56df8b6.tar.gz
Version updates now use git tags to give correct package version.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1358f75d1290..c8a0b72a72fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = autoenv-git
pkgdesc = Directory based enviroments
- pkgver = 0.2.0.r187.7eb70ec
+ pkgver = 0.2.1.r2.g7eb70ec
pkgrel = 1
url = https://github.com/kennethreitz/autoenv
install = autoenv.install
diff --git a/PKGBUILD b/PKGBUILD
index 8754d10266f0..759db29bb538 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: jyantis <yantis@yantis.net>
pkgname=autoenv-git
-pkgver=0.2.0.r187.7eb70ec
+pkgver=0.2.1.r2.g7eb70ec
pkgrel=1
pkgdesc='Directory based enviroments'
arch=('any')
@@ -18,7 +18,7 @@ conflicts=('autoenv')
pkgver() {
cd "$pkgname"
set -o pipefail
- git describe --tags --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
+ git describe --tags --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' | sed 's/v//' ||
# If there is a setup.py then pull the version tag from the file
if [ -f "setup.py" ]; then