feat(ci): automatic release versioning with rc support - #1294
Merged
Conversation
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>
Deploying ghost-chat with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/scripts/next-version.shcomputes the next release tag from conventional commits since the last stable tag: always at least a patch bump,feat:escalates to minor,!-subjects orBREAKING CHANGE:footers to major;--rcappends an auto-incrementing-rc.N; covered by a 16-assertion scratch-repo test suitedetermine-versionjob (the oldversioninput remains as an optional override), adds arelease-candidatecheckbox that marks the draft release as prerelease, fails fast on tag collisions, and queues concurrent dispatchespr-titlejob (amannn/action-semantic-pull-request) so squash-merge commit subjects stay conventional; CONTRIBUTING.md documents the new title requirementDesign spec and implementation plan included under
docs/superpowers/.Test Plan
bash .github/scripts/next-version.test.sh— 16/16 assertions passgo test ./...— all greenrelease-candidatechecked andversionempty; expect a draft prerelease taggedv4.3.0-rc.1and the version shown in the job summarypr-titlefails, rename tochore: test, confirm it passes🤖 Generated with Claude Code