Skip to content

desktop-release: surface .dmg links + auto-changelog in notes#45

Merged
AntonNiklasson merged 1 commit into
mainfrom
an/desktop-release-notes
May 18, 2026
Merged

desktop-release: surface .dmg links + auto-changelog in notes#45
AntonNiklasson merged 1 commit into
mainfrom
an/desktop-release-notes

Conversation

@AntonNiklasson
Copy link
Copy Markdown
Owner

Summary

  • Adds a Write release notes step to desktop-release.yml that runs after the publish/promote steps.
  • Notes body has a Download section with direct links to the arm64 and x64 .dmg files, then a horizontal rule, then GitHub's auto-generated What's Changed / New Contributors / Full Changelog section.
  • Backfilled v0.0.1 manually so the current release already shows the new format.

Test plan

  • Next rc or release workflow run produces a release whose body opens with the Download section and is followed by the auto-changelog.
  • Raw asset list (zips, blockmaps, latest-mac.yml) still renders below — those stay because electron-updater needs them.

The raw asset list (zips, blockmaps, latest-mac.yml) is overwhelming
for end users who only want the installer. Append a step that builds
a release body with direct .dmg download links at the top and GitHub's
auto-generated commit list below.
@AntonNiklasson AntonNiklasson marked this pull request as ready for review May 18, 2026 20:17
Copilot AI review requested due to automatic review settings May 18, 2026 20:17
@AntonNiklasson AntonNiklasson merged commit 55f0757 into main May 18, 2026
2 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the macOS desktop release workflow to publish friendlier GitHub Release notes. After the existing publish/promote steps, a new step builds a notes body that highlights the .dmg download links and appends GitHub's auto-generated changelog, then rewrites the release body via gh release edit.

Changes:

  • Adds a Write release notes step in desktop-release.yml that runs after publish/promote.
  • Calls /repos/{repo}/releases/generate-notes to obtain GitHub's auto-generated changelog and prepends a ## Download section with direct arm64/x64 .dmg links.
  • Handles both workflow_dispatch and tag-push triggers by falling back from needs.bump.outputs.ref to github.ref_name.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AntonNiklasson
Copy link
Copy Markdown
Owner Author

AntonNiklasson commented May 19, 2026

Fixes #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants