Skip to content

ci(release): create the GitHub Release, not just the tag - #59

Merged
vannt-dev merged 1 commit into
developfrom
ci/create-github-release
Sep 3, 2026
Merged

ci(release): create the GitHub Release, not just the tag#59
vannt-dev merged 1 commit into
developfrom
ci/create-github-release

Conversation

@vannt-dev

Copy link
Copy Markdown
Owner

v1.6.0 is live on npm and tagged, but it did not appear on the Releases page — because the workflow never created a Release there. A git tag and a GitHub Release are different objects, and only the tag was ever created.

v1.5.0 v1.5.1 v1.6.0
git tag
GitHub Release (written by hand) (written by hand just now)

This adds the step that closes the gap.

  • Notes come from packages/core/CHANGELOG.md, the section for the version being released — one source of truth, nothing to keep in sync by hand — preceded by the four package versions that shipped.
  • An existing release is left alone rather than failing the step, so re-running the workflow after a partial failure does not die at the last line.
  • --verify-tag, so it can never create a release pointing at a tag the publish step failed to push.
  • No new permission: contents: write was already granted for the version commit and the tag push.

Verified locally by generating the notes for 1.6.0 with the same awk extraction and checking the section boundaries, and by parsing the workflow to confirm the step lands between Publish to npm and Dry run summary and is skipped under dry_run.

v1.5.1 still has no Release entry. Say the word and I will write one, but it is history rather than something this fixes.

The release workflow tagged and published but never touched the Releases
page, so what shipped was invisible where people actually look for it:
v1.5.0 had to be written by hand, and v1.5.1 and v1.6.0 were missing from
the list entirely while being live on npm. The tags were always there - a
tag and a Release are different objects, and only the tag was being created.

The notes come from core's own CHANGELOG section for the version being
released, so there is one source of truth and nothing to keep in sync by
hand, preceded by the four package versions that shipped. An existing
release is left alone rather than failing the step, so re-running the
workflow after a partial failure stays safe.

`contents: write` was already granted for the version commit and the tag
push, so this needs no new permission.
@vannt-dev
vannt-dev merged commit dbbd26f into develop Sep 3, 2026
10 checks passed
@vannt-dev
vannt-dev deleted the ci/create-github-release branch September 3, 2026 19:38
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.

1 participant