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:
parent
92e532775e
commit
8336102322
1 changed files with 3 additions and 2 deletions
5
.github/workflows/create-release.yml
vendored
5
.github/workflows/create-release.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue