Files
action-gh-release/RELEASE.md
Copilot b430933298 release: cut v3.0.0 for Node 24 upgrade (#670)
- feat: move action runtime to node24 and require Node >=24
- chore: bump @types/node, enable Dependabot updates, rebuild dist
- cut 3.0.0 release

Signed-off-by: Rui Chen <rui@chenrui.dev>
2026-04-12 00:45:48 -04:00

2.0 KiB

Release Workflow

Use this checklist when cutting a new action-gh-release release.

Inputs

  • Decide the semantic version bump first: major, minor, or patch.
  • Review recent merged PRs and labels before drafting the changelog entry.
  • Make sure master is current and the worktree is clean before starting.

Checklist

  1. Update package.json to the new version.
  2. Add the new entry at the top of CHANGELOG.md.
    • Summarize the release in 1 short paragraph.
    • Prefer user-facing fixes and features over internal churn.
    • Keep the merged PR list aligned with .github/release.yml categories.
  3. Run npm i to refresh package-lock.json.
  4. Run the full local verification set:
    • npm run fmtcheck
    • npm run typecheck
    • npm run build
    • npm test
  5. Commit the release prep.
    • Use a plain release commit message like release 3.0.0.
  6. Create the annotated tag for the release commit.
    • Example: git tag -a v3.0.0 -m "v3.0.0"
  7. Push the commit and tag.
    • Example: git push origin master && git push origin v3.0.0
  8. Move the floating major tag to the new release tag.
    • For the current major line, run npm run updatetag to move v3.
    • Keep v2 pinned to the latest 2.x release for consumers that still need the Node 20 runtime.
    • Verify the floating tag points at the same commit as the new full tag.
  9. Create the GitHub release from the new tag.
    • Prefer the release body from CHANGELOG.md, then let GitHub append generated notes only if they add value.
    • Verify the release shows the expected tag, title, notes, and attached artifacts.

Notes

  • Behavior changes should already have matching updates in README.md, action.yml, tests, and dist/index.js before release prep begins.
  • Docs-only releases still need an intentional changelog entry and version bump decision.
  • If a release is mainly bug fixes, keep the title and summary patch-oriented; do not bury the actual fixes under dependency noise.