From 56c3e510452caeadc22d52b270f44e26db061fa1 Mon Sep 17 00:00:00 2001 From: Amisha Singla Date: Fri, 25 Oct 2024 16:10:25 -0500 Subject: [PATCH] add new changelog to the top --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0e1130..cb22fe9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,10 +60,12 @@ jobs: - name: Update CHANGELOG.md run: | - echo " " >> CHANGELOG.md + EXISTING_CHANGELOG=$(cat CHANGELOG.md) + echo " " > CHANGELOG.md echo "## ${{ steps.nextversion.outputs.NEXT_VERSION }}" >> CHANGELOG.md echo "* ${{ github.event.pull_request.title }}" >> CHANGELOG.md echo " " >> CHANGELOG.md + echo -e "$EXISTING_CHANGELOG" > CHANGELOG.md - name: Commit changes run: |