From 66078ab01499689e311493ac1288b5c38fac9e8f Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Fri, 22 Mar 2024 00:54:54 -0500 Subject: [PATCH] Update `commitHash` to use short format --- scripts/mockTemplates.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mockTemplates.mts b/scripts/mockTemplates.mts index 63b3f5d0..69fdde6e 100755 --- a/scripts/mockTemplates.mts +++ b/scripts/mockTemplates.mts @@ -71,7 +71,7 @@ async function constructGitHubUrl(): Promise<{ await exec('git branch --show-current') ).stdout.trim() - const commitHash = (await exec('git rev-parse HEAD')).stdout.trim() + const commitHash = (await exec('git rev-parse --short HEAD')).stdout.trim() return { remoteUrl,