Logs the sha of dependencies (#5146)

This commit is contained in:
Henning Dieterichs 2025-12-16 17:52:03 +01:00 committed by GitHub
parent 7649edb383
commit 09eede5b26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,7 @@ export async function gitShallowClone(
await run(`git fetch --depth 1 origin ${ref}`, options); await run(`git fetch --depth 1 origin ${ref}`, options);
await run(`git checkout ${ref}`, options); await run(`git checkout ${ref}`, options);
const commitId = await gitCommitId(targetPath); const commitId = await gitCommitId(targetPath);
console.log(`Cloned ${repositoryUrl} (${commitId}) to ${targetPath}`);
return { commitId }; return { commitId };
} }