Skip to content

Commit

Permalink
fix(plugin-release): add back a default date for changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
kherock committed Aug 12, 2021
1 parent 63be8d4 commit f79d01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-release/sources/commands/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class ReleaseCommand extends BaseCommand {
await changelogStream(
workspace,
{releaseCount: this.firstRelease ? 0 : 1},
{date: this.date}
{date: this.date ?? new Date().toISOString().split(`T`)[0]}
),
existingChangelog,
]);
Expand Down

0 comments on commit f79d01d

Please sign in to comment.