From 6a16824404d30c521022908e09b0a1df5b99cbc7 Mon Sep 17 00:00:00 2001 From: bgme Date: Mon, 15 Jan 2024 20:15:15 +0800 Subject: [PATCH] update sing-box-git pkgver --- repo/sing-box-git/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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