release: publish the release instead of leaving it a draft

releaseDraft: true (needed so build assets land on the same release
object across the two matrix jobs) was never followed by a step that
un-drafted it — the notes job set the changelog but left the release
sitting invisible on GitHub, which also means the auto-updater's
"latest release" lookup never found it (GitHub excludes drafts).
Confirmed against the v1.2.0 run: build + notes both succeeded, but
the release stayed in draft with no publish date. Publish it in the
same step that writes the notes.
This commit is contained in:
Horizontal42 2026-07-03 13:47:14 +03:00
parent b179f64fb4
commit 1b61ec35cc

View file

@ -76,4 +76,4 @@ jobs:
git log "${{ github.ref_name }}" --pretty=format:"- %s" --no-merges | grep -v "^- bump version" git log "${{ github.ref_name }}" --pretty=format:"- %s" --no-merges | grep -v "^- bump version"
fi fi
} > notes.md } > notes.md
gh release edit "${{ github.ref_name }}" --notes-file notes.md gh release edit "${{ github.ref_name }}" --notes-file notes.md --draft=false