fix: set make_latest=true when publishing releases

Without this flag, releases published from draft state don't
automatically become the 'latest' release on GitHub, causing
users to download outdated installer scripts.
This commit is contained in:
rcourtman 2025-11-26 22:41:18 +00:00
parent 92e532775e
commit 8336102322

View file

@ -439,9 +439,10 @@ jobs:
gh api "repos/${{ github.repository }}/releases/${RELEASE_ID}" \
-X PATCH \
-F draft=false
-F draft=false \
-F make_latest=true
echo "✓ Release published: ${TAG}"
echo "✓ Release published as latest: ${TAG}"
- name: Output release information
run: |