1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:09:44 +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=()
depends=('python' 'python-setuptools' 'python-jinja' 'python-docopt' 'python-pyaml')
makedepends=('git')
source=("git+https://github.com/deadc0de6/dotdrop.git")
source=("git+https://github.com/deadc0de6/dotdrop.git#tag=v${pkgver}")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
cd "${pkgname}"
git describe --abbrev=0 --tags | sed 's/^v//g'
}