mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 23:59:16 +00:00
get release from tag
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user