Skip to content

chore: create GitHub release with generated notes#20

Merged
V3RON merged 1 commit into
masterfrom
chore/github-release-notes
Jun 26, 2026
Merged

chore: create GitHub release with generated notes#20
V3RON merged 1 commit into
masterfrom
chore/github-release-notes

Conversation

@V3RON

@V3RON V3RON commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What is this?

This PR extends the release workflow so tag pushes create a GitHub Release after npm publication, with the release description populated from GitHub-generated release notes instead of a hand-written body.

How does it work?

The workflow now checks whether the package version is already published on npm and skips npm publish on reruns. After that, it uses gh release view to avoid duplicate releases and gh release create --generate-notes --verify-tag to create the release entry with GitHub-generated notes.

Why is this useful?

It automates the full release path in one workflow, keeps release notes aligned with GitHub’s own generator, and makes the job recoverable if a prior run published the package but failed before creating the release.

Use GitHub-generated release notes and skip duplicate publish/release steps on reruns.
@V3RON V3RON merged commit f38c311 into master Jun 26, 2026
6 checks passed
@V3RON V3RON deleted the chore/github-release-notes branch June 26, 2026 10:21
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