Skip to content

Commit

Permalink
[ci] fixed ci do not add to release changelog this day changes
Browse files Browse the repository at this point in the history
  • Loading branch information
msereniti committed Apr 25, 2022
1 parent 89c9951 commit c706181
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export const patchReleaseChangelog = async (previousVersionId: string) => {
const previousVersion = releaseChangelog.changelogs[previousVersionIndex];
const previousVersionDate = previousVersion?.date;
const versionDate =
releaseChangelog.changelogs[previousVersionIndex - 1]?.date || dayjs().format('YYYY-MM-DD');
releaseChangelog.changelogs[previousVersionIndex - 1]?.date ||
dayjs().add(1, 'day').format('YYYY-MM-DD');

const componentChanges = componentChangelogs.map(({ changelogs }) =>
changelogs
Expand Down

0 comments on commit c706181

Please sign in to comment.