diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0e1130f..cb22fe9c 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: |