Skip to content

Use release-action for GitHub release publishing#136

Merged
webup merged 1 commit into
developfrom
chore/release-action-publishing
Apr 30, 2026
Merged

Use release-action for GitHub release publishing#136
webup merged 1 commit into
developfrom
chore/release-action-publishing

Conversation

@webup
Copy link
Copy Markdown
Contributor

@webup webup commented Apr 30, 2026

What

Switch release publishing to ncipollo/release-action@v1 so GitHub generates the changelog, new contributor acknowledgements, full changelog link, and contributor avatar section. The workflow now keeps ClawMaster-specific install and desktop download instructions as a custom release preface before the generated notes.

Why

This uses GitHub's standard release-note machinery for contributor acknowledgement while preserving the project-specific installation content we need at the top of each release.

How

  • Generate RELEASE_PREFACE.md with CLI, npm, desktop installer, and checksum links.
  • Resolve the previous release tag for generated release-note comparisons.
  • Replace manual gh release create/edit/upload calls with ncipollo/release-action@v1 using generated notes, artifact replacement, prerelease, draft, and latest controls.
  • Remove the unused custom release-notes script and narrow the CLI test glob.

Screenshots

Not applicable; this PR only changes release automation.

Related Issue

Closes #135

Type of Change

  • Bug fix
  • New feature
  • Refactor (no behavior change)
  • Documentation
  • Tests
  • CI / tooling
  • Chore (dependencies, config)

Testing

  • npm test passes locally
  • Workflow YAML parses with js-yaml
  • Local dry-check for v0.3.1 resolves previous_tag=v0.3.0
  • Local dry-check renders the expected release preface markdown
  • No console.log or debug artifacts left in code

Dependency Changes

  • No new non-Node.js runtime dependencies introduced
  • No new npm packages added

Checklist

  • Branch name follows convention (feat/, fix/, chore/, docs/, test/, ci/)
  • No i18n changes needed

@webup webup changed the base branch from main to develop April 30, 2026 07:49
@webup webup merged commit e1e91b7 into develop Apr 30, 2026
17 of 19 checks passed
@webup webup deleted the chore/release-action-publishing branch April 30, 2026 08:31
webup added a commit that referenced this pull request May 14, 2026
PR #136 replaced the custom release-notes.mjs script with
ncipollo/release-action's generateReleaseNotes, which relies on
PR labels that nobody applies — resulting in empty release notes.

Restore the script that parses conventional commit prefixes (feat,
fix, etc.) directly from git log, groups them into Features & Polish
/ Fixes / Misc buckets with collapsible details, and appends a
Contributors section with first-time contributor welcome.

Wire it into the publish-release job: preface + script output →
RELEASE_BODY.md, replacing generateReleaseNotes.
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.

Use release-action for GitHub release publishing

1 participant