Skip to content

Commit

Permalink
[patch] fix publish previous version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Aug 5, 2024
1 parent 2700a81 commit 0d77abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/publish/src/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ enum ChangeMarker {

async function getGitCommitVersion(decrement: number, git: Readonly<SimpleGit>) {
const output = await git.raw(
`show HEAD~${decrement} --pretty='%D${gitCommitFormatDelimiter}%s' -s`.split(' '),
`show HEAD~${decrement} --pretty='%d${gitCommitFormatDelimiter}%s' -s`.split(' '),
);
const [
maybeTag,
Expand Down

0 comments on commit 0d77abc

Please sign in to comment.