From 5daeb99770cf655651cfeac48a38d0e17ff131b1 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Wed, 4 Dec 2024 17:38:37 +0100 Subject: [PATCH] fix: Append the git-generated changelog to the file instead of writing over --- .github/workflows/apps_wallet_prod_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/apps_wallet_prod_build.yml b/.github/workflows/apps_wallet_prod_build.yml index f4714cd53e1..c934cc94251 100644 --- a/.github/workflows/apps_wallet_prod_build.yml +++ b/.github/workflows/apps_wallet_prod_build.yml @@ -61,8 +61,8 @@ jobs: echo "No previous tag found. Skipping changelog generation." echo "changelog=No previous tag found. Changelog generation skipped." >> $GITHUB_OUTPUT else - echo "## Changelog" >> CHANGELOG.md - git log ${{ env.PREV_TAG }}..${{ env.CURRENT_TAG }} --pretty=format:"- %s in #%h" -- ./apps/wallet > CHANGELOG.md + echo "## Changelog" > CHANGELOG.md + git log ${{ env.PREV_TAG }}..${{ env.CURRENT_TAG }} --pretty=format:"- %s in #%h" -- ./apps/wallet >> CHANGELOG.md fi - name: Get version from tag