diff --git a/.github/workflows/apps_wallet_prod_build.yml b/.github/workflows/apps_wallet_prod_build.yml index 6611449a97f..0cb9292f755 100644 --- a/.github/workflows/apps_wallet_prod_build.yml +++ b/.github/workflows/apps_wallet_prod_build.yml @@ -59,11 +59,11 @@ jobs: run: | if [ "${{ env.PREV_TAG }}" = "none" ]; then echo "No previous tag found. Skipping changelog generation." - echo "changelog=No previous tag found. Changelog generation skipped." >> $GITHUB_ENV + echo "changelog=No previous tag found. Changelog generation skipped." >> $GITHUB_OUTPUT else git log ${{ env.PREV_TAG }}..${{ env.CURRENT_TAG }} --pretty=format:"- %s by @%an in #%h" -- ./apps/wallet > CHANGELOG.md changelog=$(cat CHANGELOG.md) - echo "changelog=$changelog" >> $GITHUB_ENV + echo "changelog=$changelog" >> $GITHUB_OUTPUT fi - name: Get version from tag @@ -74,12 +74,13 @@ jobs: uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # pin@v2.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CHANGELOG: ${{ steps.generate_changelog.outputs.changelog }} with: tag_name: ${{ env.CURRENT_TAG }} name: IOTA Wallet v${{ steps.version.outputs.version }} body: | ## Changelog - {{ env.changelog }} + {{ env.CHANGELOG }} draft: true prerelease: false - name: Upload artifacts