From a47071c40f1e8ef632e95ec422090c5ce51805d1 Mon Sep 17 00:00:00 2001 From: Marika Marszalkowski Date: Thu, 12 Sep 2024 11:26:08 +0200 Subject: [PATCH] do it --- .github/actions/merge-changelogs/index.js | 2 +- build-packages/merge-changelogs/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/merge-changelogs/index.js b/.github/actions/merge-changelogs/index.js index d0b0c728d0..9fafbc4222 100644 --- a/.github/actions/merge-changelogs/index.js +++ b/.github/actions/merge-changelogs/index.js @@ -113,7 +113,7 @@ async function formatChangelog(parsedChangelogs) { // ); (0, core_1.info)('Formatting changelog'); console.log(JSON.stringify(parsedChangelogs)); - const version = parsedChangelogs[0].version; + const version = parsedChangelogs[1].version; // const versions = [...new Set(parsedChangelogs.map(msg => msg.version))]; return createNewSection(version, parsedChangelogs); } diff --git a/build-packages/merge-changelogs/index.ts b/build-packages/merge-changelogs/index.ts index dbf14e3489..2f4a5250c6 100644 --- a/build-packages/merge-changelogs/index.ts +++ b/build-packages/merge-changelogs/index.ts @@ -164,7 +164,7 @@ async function formatChangelog(parsedChangelogs: Change[]): Promise { // ); info('Formatting changelog'); console.log(JSON.stringify(parsedChangelogs)); - const version = parsedChangelogs[0].version; + const version = parsedChangelogs[1].version; // const versions = [...new Set(parsedChangelogs.map(msg => msg.version))]; return createNewSection(version, parsedChangelogs);