Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lib/prepare_release.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
RafaelGSS and aduh95 authored Nov 2, 2024
commit 470bcf13bdfafe62d56f6051494475b9f91fb1df
2 changes: 1 addition & 1 deletion lib/prepare_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class ReleasePreparation extends Session {
this.isLTS = false;
this.isLTSTransition = argv.startLTS;
this.runBranchDiff = !argv.skipBranchDiff;
this.defaultReleaseDate = argv.releaseDate ?? new Date().toISOString().split('T')[0];
this.defaultReleaseDate = argv.releaseDate ?? new Date().toISOString().slice(0, 10);
this.ltsCodename = '';
this.date = '';
this.filterLabels = argv.filterLabel && argv.filterLabel.split(',');
Expand Down