We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe7adf commit ecc7f0cCopy full SHA for ecc7f0c
lib/prepare_release.js
@@ -114,8 +114,9 @@ class ReleasePreparation {
114
cli.stopSpinner('Updated REPLACEME items in docs');
115
116
// Fetch date to use in release commit & changelogs.
117
+ const todayDate = new Date().toISOString().split('T')[0];
118
this.date = await cli.prompt('Enter release date in YYYY-MM-DD format:',
- { questionType: 'input' });
119
+ { questionType: 'input', defaultAnswer: todayDate });
120
121
cli.startSpinner('Updating CHANGELOG.md');
122
await this.updateMainChangelog();
0 commit comments