update sing-box-git pkgver()

This commit is contained in:
bgme 2024-04-13 11:50:50 +08:00
parent 62b809e89b
commit cc55daa001
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ sha256sums=(
pkgver() { pkgver() {
cd "${srcdir}/${_pkgname}" cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" echo "$(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d%H%M 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 _tags=with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api

View file

@ -13,4 +13,4 @@ update_on:
github: SagerNet/sing-box github: SagerNet/sing-box
- source: vcs - source: vcs
- source: manual - source: manual
manual: 1 manual: 2