From 21e85da3fd760f4f6f1adfbaf24fcc2539e5a0e4 Mon Sep 17 00:00:00 2001 From: AlexProgrammerDE <40795980+AlexProgrammerDE@users.noreply.github.com> Date: Fri, 27 Feb 2026 19:22:24 +0100 Subject: [PATCH] feat: add download matrix table to release notes Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c54122f..bd8d25f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,14 +80,33 @@ jobs: - name: Create GitHub Release env: GH_TOKEN: ${{ github.token }} + CHANGELOG: ${{ steps.changelog.outputs.changelog }} run: | - gh release create "${{ inputs.version }}" \ - --title "AnarchyMod ${{ inputs.version }}" \ - --notes "${{ steps.changelog.outputs.changelog }}" \ - mc-1.21.8/build/libs/anarchymod-mc-1.21.8-${{ inputs.version }}.jar \ - mc-1.21.9/build/libs/anarchymod-mc-1.21.9-${{ inputs.version }}.jar \ - mc-1.21.10/build/libs/anarchymod-mc-1.21.10-${{ inputs.version }}.jar \ - mc-1.21.11/build/libs/anarchymod-mc-1.21.11-${{ inputs.version }}.jar + VERSION="${{ inputs.version }}" + REPO="${{ github.repository }}" + DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${VERSION}" + + NOTES=$(cat <