Skip to content

Commit 6dfb472

Browse files
Merge pull request #43 from off-grid-ai/fix/attach-notes-all-channels
ci(release): attach release notes for beta too, not just stable
2 parents 19ff0bc + c1910c2 commit 6dfb472

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,12 @@ jobs:
259259
gh release create nightly --prerelease --title "Nightly (rolling)" \
260260
--notes "Rolling nightly build, auto-updated on every change. Pre-release — expect rough edges. Stable: https://github.com/off-grid-ai/off-grid-ai-desktop/releases/latest"
261261
gh release upload nightly dist/OffGrid-nightly.dmg --clobber
262-
# electron-builder creates the GitHub release with empty notes; attach the
263-
# notes generated above (mobile sets them at create time via --notes-file; the
264-
# desktop release is created by electron-builder, so we set them after).
262+
# electron-builder creates the GitHub release with empty notes; attach the notes
263+
# generated above. Runs for BOTH channels (beta + stable) — the notes file and the
264+
# v$VERSION tag exist for beta too, so beta/nightly releases get their changelog on
265+
# the release page, not just stable.
265266
- name: Attach release notes
266-
if: needs.version.outputs.channel == 'stable'
267+
if: success()
267268
env:
268269
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
269270
VERSION: ${{ needs.version.outputs.version }}

0 commit comments

Comments
 (0)