Remove SHA512 debug log output
Release NapCat / validate-version (push) Canceled after 0s
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s

Remove console.log statements that printed the computed SHA512 hashes for the shell and framework in .github/scripts/publish-release-hash.mjs. This reduces log noise and prevents potentially sensitive hash values from appearing in CI logs while retaining the hash computation logic.
This commit is contained in:
手瓜一十雪 committed 2026-03-04 21:59:00 +08:00
1 parent 976331af94
commit 2a06688479
1 file changed
-3
-3
View File
@@ -50,11 +50,8 @@ const MAX_ENTRIES = 100;
// 1. 计算哈希
console.log(`Computing SHA512 for Shell: ${shellPath}`);
const shellHash = sha512File(shellPath);
console.log(`Shell SHA512: ${shellHash}`);
console.log(`Computing SHA512 for Framework: ${frameworkPath}`);
const frameworkHash = sha512File(frameworkPath);
console.log(`Framework SHA512: ${frameworkHash}`);
// 2. 读取现有 release.json,不存在则创建空数组
let entries = [];