mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 22:41:58 +03:00
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:
parent
b179f64fb4
commit
1b61ec35cc
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue