From 2a06688479489fba90524ed35cfcc1166d60da9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 4 Mar 2026 21:59:00 +0800 Subject: [PATCH] Remove SHA512 debug log output 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. --- .github/scripts/publish-release-hash.mjs | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/scripts/publish-release-hash.mjs b/.github/scripts/publish-release-hash.mjs index 9d3eee81d..efcd1a854 100644 --- a/.github/scripts/publish-release-hash.mjs +++ b/.github/scripts/publish-release-hash.mjs @@ -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 = [];