Skip to content

feat(ci): automatic release versioning with rc support - #1294

Merged
Enubia merged 8 commits into
mainfrom
feat/auto-release-versioning
Jun 10, 2026
Merged

feat(ci): automatic release versioning with rc support#1294
Enubia merged 8 commits into
mainfrom
feat/auto-release-versioning

Conversation

@Enubia

@Enubia Enubia commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • New .github/scripts/next-version.sh computes the next release tag from conventional commits since the last stable tag: always at least a patch bump, feat: escalates to minor, !-subjects or BREAKING CHANGE: footers to major; --rc appends an auto-incrementing -rc.N; covered by a 16-assertion scratch-repo test suite
  • The Release workflow now auto-detects the version via a determine-version job (the old version input remains as an optional override), adds a release-candidate checkbox that marks the draft release as prerelease, fails fast on tag collisions, and queues concurrent dispatches
  • Quick Checks gains a pr-title job (amannn/action-semantic-pull-request) so squash-merge commit subjects stay conventional; CONTRIBUTING.md documents the new title requirement

Design spec and implementation plan included under docs/superpowers/.

Test Plan

  • bash .github/scripts/next-version.test.sh — 16/16 assertions pass
  • go test ./... — all green
  • After merge: dispatch Release with release-candidate checked and version empty; expect a draft prerelease tagged v4.3.0-rc.1 and the version shown in the job summary
  • After merge: open a test PR with a non-conventional title, confirm pr-title fails, rename to chore: test, confirm it passes

🤖 Generated with Claude Code

Enubia and others added 8 commits June 10, 2026 22:12
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…dge cases

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ghost-chat with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7ef6217
Status: ✅  Deploy successful!
Preview URL: https://bb11b149.ghost-chat-4c1.pages.dev
Branch Preview URL: https://feat-auto-release-versioning.ghost-chat-4c1.pages.dev

View logs

@Enubia
Enubia merged commit c3dcc3a into main Jun 10, 2026
3 checks passed
@Enubia
Enubia deleted the feat/auto-release-versioning branch June 10, 2026 20:49
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