Skip to content

Commit 2a06688

Browse files
committed
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.
1 parent 976331a commit 2a06688

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/scripts/publish-release-hash.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,8 @@ const MAX_ENTRIES = 100;
5050
// 1. 计算哈希
5151
console.log(`Computing SHA512 for Shell: ${shellPath}`);
5252
const shellHash = sha512File(shellPath);
53-
console.log(`Shell SHA512: ${shellHash}`);
54-
5553
console.log(`Computing SHA512 for Framework: ${frameworkPath}`);
5654
const frameworkHash = sha512File(frameworkPath);
57-
console.log(`Framework SHA512: ${frameworkHash}`);
5855

5956
// 2. 读取现有 release.json,不存在则创建空数组
6057
let entries = [];

0 commit comments

Comments
 (0)