Skip to content

Publish CHANGELOG.md sections as the desktop GitHub release notes #5348

Description

@connorads

The work

Follow-up to #1390. There, Sawyer asked whether the release notes should also go on the releases page, and the person who opened the issue said yes. The notes reach getbb.app/changelog but not GitHub Releases. Every desktop-v* release body is bb desktop <version>, for example desktop-v0.46.0. The publish step hard-codes it (build-desktop.yml#L442-L446).

Proposed change:

  • scripts/release-notes.mjs prints one version's section from CHANGELOG.md. The publish step passes it to gh release create --notes-file. If the section is missing, it falls back to the current body with a warning, so binaries are never blocked.
  • .github/workflows/release-notes.yml runs on pushes to main that change CHANGELOG.md, and by manual dispatch with a dry run by default. It sets each existing release body to its section and skips bodies that already match.
  • One sentence added to step 4 of docs/bb-release-process.md.

Tested against main at 3912f4a.

Why now

  • The release page is the default place to look for release notes on GitHub.
  • Notes sometimes land after publishing. desktop-v0.45.0 was published at 15:14 PDT on 2 Oct, and Draft release notes for bb 0.45.0 #4769 added its notes at 15:30. The sync workflow covers this case.
  • desktop-v0.43.0 and desktop-v0.43.3 were hand-edited after publishing to paste in their changelog sections. Doing that by hand doesn't scale.
  • GitHub keeps notes editable on immutable releases: "You can still edit the title and release notes of a published immutable release". None of the desktop-v* releases are immutable today in any case.

Acceptance criteria

  • A new stable release body equals its CHANGELOG.md section.
  • A section that lands after publishing reaches the release with no manual step.
  • A re-run edits nothing.
  • A missing section never fails the publish.
  • On the first sync, a dry run lists the changes: 16 releases, 0.0.29 to 0.46.0. 0.43.3 already matches. The 0.43.0 edit only removes a duplicated ## 0.43.0 heading. 0.35.0 has no release and is skipped.

I have this working and tested end to end in a throwaway copy of the repo. It ran the real publish step with stubbed platform builds, covering the normal, late-notes, backfill and re-run cases. See the releases and runs. Happy to open the PR if this is wanted.

AGENT GENERATED

Activity

  1. added
    desktop
    on Oct 10, 2026
  2. bb-slop-cop commented on Oct 10, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied and verified: Type: Feature, Priority: Low, Effort: Medium, Labels: desktop. No existing classification values were present.

    This adds automated changelog publishing and synchronization to the desktop release process. Priority is Low because binaries remain available and notes can be accessed separately; effort is Medium because publishing, synchronization, and verification span several files.

    No reproduction report or pull request: the final Type is Feature, so this rule skips bug reproduction and fixes.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktop

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions