Skip to content

ci: Release with semantic-release - #17

Merged
temp merged 1 commit into
mainfrom
ci/semantic-release
Nov 3, 2026
Merged

temp merged 1 commit into
mainfrom
ci/semantic-release

Conversation

@temp

@temp temp commented Nov 3, 2026

Copy link
Copy Markdown
Member

Changes

  • Add semantic-release (.releaserc, .github/workflows/release.yaml), same setup as the other brainbits packages (commit-analyzer, release-notes-generator, github, tag format without v)
  • Differences to the other repos:
    • Release only runs after a successful Build of a push to main (workflow_run), so failing tests are never released
    • semantic-release pinned to 25.0.9 instead of always pulling the latest
    • Explicit token permissions (contents, issues, pull-requests: write); the build workflow stays read-only
  • CLAUDE.md: document how commit types map to versions

Expected result

Commits since 8.0.1 contain fix: but no feat: / BREAKING CHANGE, so merging this PR should create 8.0.2 (tag + GitHub release), including everything from #15. Packagist picks up the tag via webhook.

The release workflow only runs once it is on main, so it is first exercised by merging this PR.

🤖 Generated with Claude Code

Same setup as the other brainbits packages, but:
- only runs after a successful Build of a push to main
- semantic-release version pinned
- explicit token permissions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@temp
temp merged commit 7a050ab into main Nov 3, 2026
4 checks passed
@temp
temp deleted the ci/semantic-release branch November 3, 2026 17:06
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 8.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant