summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2cc0bf9c2483..36329fd193e3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-iexfinance-git
pkgdesc = Python wrapper for the Investor's Exchange (IEX) Developer API
- pkgver = r53.d6d7710
+ pkgver = v0.3.1.0.gd6d7710
pkgrel = 1
url = https://addisonlynch.github.io/iexfinance/
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 8b5cdfac3d10..18d1653c46f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=python-iexfinance-git
pkgname=(python-iexfinance-git python2-iexfinance-git)
-pkgver=r53.d6d7710
+pkgver=v0.3.1.0.gd6d7710
pkgrel=1
pkgdesc="Python wrapper for the Investor's Exchange (IEX) Developer API"
url='https://addisonlynch.github.io/iexfinance/'
@@ -16,7 +16,7 @@ sha256sums=(SKIP)
pkgver() {
cd ${pkgname[0]}
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --tags --long | sed 's/-/./g'
}
build() {