From 12d252f5e33976430b63a946385075916223389b Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 23 Aug 2024 21:08:58 +0100 Subject: [PATCH] chore: trim tag (#28687) --- scripts/_utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_utils.ts b/scripts/_utils.ts index 8e8bb8bdf3..fb5804c514 100644 --- a/scripts/_utils.ts +++ b/scripts/_utils.ts @@ -110,7 +110,7 @@ export async function getLatestCommits () { const config = await loadChangelogConfig(process.cwd()) const { stdout: latestTag } = await exec('git', ['describe', '--tags', '--abbrev=0']) - return parseCommits(await getGitDiff(latestTag), config) + return parseCommits(await getGitDiff(latestTag.trim()), config) } export async function getContributors () {