Skip to content

Commit

Permalink
chore: trim tag from tinyexec stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 10, 2024
1 parent bcd5122 commit 2b50cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ 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)
}

0 comments on commit 2b50cfe

Please sign in to comment.