1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 06:54:17 +00:00

get release from tag

This commit is contained in:
deadc0de6
2018-02-11 12:43:19 +01:00
parent 142bb2022b
commit 861b8e2b83

View File

@@ -10,11 +10,11 @@ license=('GPL')
groups=() groups=()
depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-pyaml') depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-pyaml')
makedepends=('git') makedepends=('git')
source=("git+https://github.com/deadc0de6/dotdrop.git") source=("git+https://github.com/deadc0de6/dotdrop.git#tag=v${pkgver}")
md5sums=('SKIP') md5sums=('SKIP')
pkgver() { pkgver() {
cd "$pkgname" cd "${pkgname}"
git describe --abbrev=0 --tags | sed 's/^v//g' git describe --abbrev=0 --tags | sed 's/^v//g'
} }