From cc55daa00122bd9827817606ae66df19359e26ea Mon Sep 17 00:00:00 2001 From: bgme Date: Sat, 13 Apr 2024 11:50:50 +0800 Subject: [PATCH] update sing-box-git pkgver() --- repo/sing-box-git/PKGBUILD | 2 +- repo/sing-box-git/lilac.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repo/sing-box-git/PKGBUILD b/repo/sing-box-git/PKGBUILD index 4ec0ff4..e73559d 100644 --- a/repo/sing-box-git/PKGBUILD +++ b/repo/sing-box-git/PKGBUILD @@ -37,7 +37,7 @@ sha256sums=( pkgver() { 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 diff --git a/repo/sing-box-git/lilac.yaml b/repo/sing-box-git/lilac.yaml index f5a6b7b..4cd7cba 100644 --- a/repo/sing-box-git/lilac.yaml +++ b/repo/sing-box-git/lilac.yaml @@ -13,4 +13,4 @@ update_on: github: SagerNet/sing-box - source: vcs - source: manual - manual: 1 \ No newline at end of file + manual: 2 \ No newline at end of file