From f79d01d87e36b4d4645948e169d802bfd4ebd57e Mon Sep 17 00:00:00 2001 From: Kyle Herock Date: Wed, 11 Aug 2021 21:30:26 -0400 Subject: [PATCH] fix(plugin-release): add back a default date for changelogs --- packages/plugin-release/sources/commands/release.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-release/sources/commands/release.ts b/packages/plugin-release/sources/commands/release.ts index e18db87..4cc504b 100644 --- a/packages/plugin-release/sources/commands/release.ts +++ b/packages/plugin-release/sources/commands/release.ts @@ -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, ]);