fix: release workflow fixes and version bump to 0.2.4

- Fix AUR mcl-launcher-bin package path for dist tarballs
- Fix WinGet manifest validation by removing leftover sha256 file
- Use RELEASE_TOKEN for homebrew tap access
- Restore git-cliff changelog in GitHub releases
- Remove shell/powershell installer scripts from dist config
This commit is contained in:
objz committed 2026-04-26 21:59:59 +02:00
1 parent 6d6e67bbba
commit 0a7f9282cc
6 files changed
+142 -55

No files matched your search

+12 -4
View File
@@ -234,6 +234,8 @@ jobs:
with:
persist-credentials: false
submodules: recursive
fetch-depth: 0
fetch-tags: true
- name: Install cached dist
uses: actions/download-artifact@v7
with:
@@ -271,15 +273,21 @@ jobs:
run: |
# Remove the granular manifests
rm -f artifacts/*-dist-manifest.json
- name: Generate changelog
id: changelog
uses: orhun/git-cliff-action@v4
with:
args: --latest --strip header
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create GitHub Release
env:
PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}"
ANNOUNCEMENT_TITLE: "${{ fromJson(steps.host.outputs.manifest).announcement_title }}"
ANNOUNCEMENT_BODY: "${{ fromJson(steps.host.outputs.manifest).announcement_github_body }}"
RELEASE_COMMIT: "${{ github.sha }}"
CHANGELOG: "${{ steps.changelog.outputs.content }}"
run: |
# Write and read notes from a file to avoid quoting breaking things
echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt
echo "$CHANGELOG" > $RUNNER_TEMP/notes.txt
gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
@@ -299,7 +307,7 @@ jobs:
with:
persist-credentials: true
repository: "objz/homebrew-tap"
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
token: ${{ secrets.RELEASE_TOKEN }}
# So we have access to the formula
- name: Fetch homebrew formulae
uses: actions/download-artifact@v7