mirror of
https://github.com/archlinux/aur.git
synced 2026-02-08 21:43:04 +01:00
fix versioning
This commit is contained in:
parent
b600d6092b
commit
9506bbb2ed
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = kew-git
|
||||
pkgdesc = A command-line music player
|
||||
pkgver = v3.0.0rc1.40354d4
|
||||
pkgver = v2.8.2.40354d4
|
||||
pkgrel = 1
|
||||
url = https://github.com/ravachol/kew
|
||||
arch = x86_64
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: <agustinballesteros04@gmail.com>
|
||||
pkgname=kew-git
|
||||
pkgrel=1
|
||||
pkgver=v3.0.0rc1.40354d4
|
||||
pkgver=v2.8.2.40354d4
|
||||
pkgdesc="A command-line music player"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/ravachol/kew"
|
||||
|
|
@ -16,7 +16,7 @@ source=("git+${url}")
|
|||
|
||||
pkgver() {
|
||||
cd "$srcdir/kew"
|
||||
local tag=$(git tag | sort | tail -n1)
|
||||
local tag=$(git tag --merged main | sort | tail -n1)
|
||||
local commit_hash=$(git rev-parse --short HEAD)
|
||||
echo "${tag}.${commit_hash}" | sed 's/[:\/\-]//g'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue