diff options
author | Vignesh Krishnamoorthy | 2016-11-11 09:29:41 +0100 |
---|---|---|
committer | Vignesh Krishnamoorthy | 2016-11-11 09:29:41 +0100 |
commit | 3bb5974078b2c3ab846d9955ca3581c9f56df8b6 (patch) | |
tree | e4a9b1f6db249db5be1a1becd3117de4d684a0a8 | |
parent | bc5dcef65864c3d592c2ea80c0b324d0c9870f9a (diff) | |
download | aur-3bb5974078b2c3ab846d9955ca3581c9f56df8b6.tar.gz |
Version updates now use git tags to give correct package version.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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 |