Skip to content

Add automated release workflow for version tags#698

Merged
jamespepper81 merged 1 commit into
devfrom
claude/epic-pasteur-JAddF
May 27, 2026
Merged

Add automated release workflow for version tags#698
jamespepper81 merged 1 commit into
devfrom
claude/epic-pasteur-JAddF

Conversation

@jamespepper81
Copy link
Copy Markdown
Contributor

Summary

Adds a GitHub Actions workflow that automatically creates releases when version tags are pushed to the repository. The workflow extracts release notes from the CHANGELOG.md file, detects prerelease versions (alpha/beta/rc), and creates GitHub releases with appropriate metadata.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactor / cleanup

Details

The new release.yml workflow:

  • Triggers on pushes to tags matching the pattern v*
  • Extracts the version number from the tag
  • Detects prerelease versions based on tag suffixes (alpha, beta, rc)
  • Parses release notes from CHANGELOG.md for the corresponding version
  • Falls back to a generic release message if version notes aren't found
  • Creates a GitHub release with the extracted metadata using softprops/action-gh-release

This enables automated release management without manual intervention when version tags are created.

Test Plan

The workflow will be tested when the first version tag is pushed to the repository. The workflow can also be validated by:

  1. Verifying the workflow syntax is correct (GitHub will validate on push)
  2. Checking that the CHANGELOG.md parsing logic correctly extracts version sections
  3. Confirming prerelease detection works for tags like v1.0.0-alpha, v1.0.0-beta, v1.0.0-rc

Checklist

  • No code changes requiring typecheck/lint/test
  • npm run typecheck passes
  • npm run lint passes
  • npm run test passes
  • Documentation updated (if applicable)

https://claude.ai/code/session_018iA4eN8Qacf6AQY5UDyRZD

Triggers on v* tags, extracts the matching version's notes from
CHANGELOG.md, and creates a GitHub Release via softprops/action-gh-release@v2.
Pre-release tags (-alpha, -beta, -rc) are auto-flagged.

https://claude.ai/code/session_018iA4eN8Qacf6AQY5UDyRZD
@jamespepper81 jamespepper81 merged commit 2bd6ff7 into dev May 27, 2026
4 checks passed
@jamespepper81 jamespepper81 deleted the claude/epic-pasteur-JAddF branch May 27, 2026 10:08
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.

2 participants