diff --git a/repo/sing-box-git/PKGBUILD b/repo/sing-box-git/PKGBUILD index bfcc857..e18c3de 100644 --- a/repo/sing-box-git/PKGBUILD +++ b/repo/sing-box-git/PKGBUILD @@ -3,7 +3,7 @@ pkgname=sing-box-git _pkgname=sing-box -pkgver=1.8.0.rc.11.r0.g21386bad +pkgver=r1217.cca9c067 pkgrel=1 pkgdesc='The universal proxy platform (git version).' @@ -37,7 +37,7 @@ sha256sums=( pkgver() { cd "${srcdir}/${_pkgname}" - git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } _tags=with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api