Skip to content

Commit

Permalink
fix: Don't write undefined to changelog (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins authored Jan 27, 2024
1 parent 0f307b4 commit a375eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/publish/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export const publish = async (options) => {
const changelogMd = [
`Version ${version} - ${DateTime.now().toLocaleString(
DateTime.DATETIME_SHORT,
)}${tag ? ' (Manual Release)' : undefined}`,
)}${tag ? ' (Manual Release)' : ''}`,
'## Changes',
changelogCommitsMd ? changelogCommitsMd : '- None',
'## Packages',
Expand Down

0 comments on commit a375eae

Please sign in to comment.