Skip to content

Commit

Permalink
chore: fix release date (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
tatomyr authored Aug 7, 2023
1 parent 1abc7af commit 954fb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/post-changeset.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const generatedLogs = fs.readFileSync('./packages/cli/CHANGELOG.md').toString();
const [, log] = generatedLogs.split('\n## ', 2);
const mainChangelog = fs.readFileSync('./docs/changelog.md').toString();
const [date] = new Date().toISOString().split('T');
const logWithDate = log.replace('\n', ' (${date})\n');
const logWithDate = log.replace('\n', ` (${date})\n`);
const modifiedChangelog = mainChangelog.replace(
'<!-- do-not-remove -->\n',
'<!-- do-not-remove -->\n\n## ' + logWithDate
Expand Down

1 comment on commit 954fb02

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 74.47% 3728/5006
🟡 Branches 65.41% 2063/3154
🟡 Functions 66.7% 619/928
🟡 Lines 74.56% 3478/4665

Test suite run success

616 tests passing in 89 suites.

Report generated by 🧪jest coverage report action from 954fb02

Please sign in to comment.