diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 977eba517ff..0cedc7a776e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -562,6 +562,30 @@ jobs: token: ${{ secrets.GH_BOT_TOKEN }} validate: true + - uses: cardinalby/git-get-release-action@v1 + id: github_latest_stable + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + latest: true + draft: false + prerelease: false + + - name: "Generate Changelog" + id: build_changelog + uses: requarks/changelog-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + fromTag: "v2024.529.1057" + toTag: ${{steps.github_latest_stable.outputs.tag_name}} + writeToFile: false + + - name: "Print Changelog" + id: print_changelog + run: | + echo "Generated Changelog fromTag ${{steps.github_latest_stable.outputs.tag_name}} to ${{ github.ref_name }}" + echo "${{steps.build_changelog.outputs.changes}}" + - name: Create/Update GitHub Release if: >- matrix.release && @@ -571,7 +595,8 @@ jobs: allowUpdates: true artifacts: '${{ github.workspace }}/homebrew/*' discussionCategory: announcements - generateReleaseNotes: true + generateReleaseNotes: false + body: ${{steps.build_changelog.outputs.changelog}} name: ${{ needs.setup_release.outputs.release_tag }} prerelease: true tag: ${{ needs.setup_release.outputs.release_tag }}