chore: 可以正常生成补丁包及回滚包及签名生效

This commit is contained in:
2025-11-17 09:55:05 +08:00
parent 27f10afd78
commit a5a9bc091a
3 changed files with 16 additions and 9 deletions

View File

@@ -687,7 +687,8 @@ sign_package() {
info "开始签名补丁包"
if command -v gpg >/dev/null 2>&1; then
if gpg --batch --yes --detach-sign \
if gpg --homedir "/etc/patch/keys" \
--batch --yes --detach-sign \
--local-user "$PATCH_AUTHOR" \
--output "${package_path}.sig" \
"$package_path"; then