Skip to content

Commit e0c9d76

Browse files
committed
Update commitHash to use short format
1 parent 0e0f223 commit e0c9d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mockTemplates.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async function constructGitHubUrl(): Promise<{
7171
await exec('git branch --show-current')
7272
).stdout.trim()
7373

74-
const commitHash = (await exec('git rev-parse HEAD')).stdout.trim()
74+
const commitHash = (await exec('git rev-parse --short HEAD')).stdout.trim()
7575

7676
return {
7777
remoteUrl,

0 commit comments

Comments
 (0)