versioning
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
pkgname='zshell'
|
||||
pkgver=0.1.0
|
||||
pkgver=0.1.0.e685500
|
||||
pkgrel=1
|
||||
pkgdesc='The cli for zshell'
|
||||
arch=('any')
|
||||
@@ -11,6 +11,13 @@ makedepends=('python-build' 'python-installer' 'python-hatch' 'python-hatch-vcs'
|
||||
source=("$pkgname::git+$url.git#branch=main")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
printf "%s.%s" \
|
||||
"$(git describe --tags --abbrev=0 | sed 's/^v//')" \
|
||||
"$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}/cli"
|
||||
python -m build --wheel --no-isolation
|
||||
|
||||
Reference in New Issue
Block a user