ci: add prerelease pipeline on next branch - #1588
Conversation
Mirrors deco-cx/deco's two-channel release flow without JSR: - PRs against `next` get a "Prerelease Tagging" comment; merge ships an `X.Y.Z-next.N` tag (defaults to PATCH, maintainers can react 🎉/🚀 to override). N auto-increments per base. - `release.yaml` flags `*-next.*` tags as GitHub Pre-releases. - jsDelivr serves the tags; `deno task update` filters semver prereleases by default, so customers only get them when they pin the exact `apps@X.Y.Z-next.N` version. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Tagging OptionsShould a new tag be published when this PR is merged?
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe release automation is extended to support parallel workflows: stable ChangesDual-branch Release Workflow
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What is this Contribution About?
Mirrors
deco-cx/deco's two-channel release flow in this repo, without adopting JSR. A newnextbranch (created manually after this PR lands) becomes the prerelease channel. PRs againstnextget a "Prerelease Tagging" bot comment; merging ships aX.Y.Z-next.Ntag — default is PATCH, maintainers can react 🎉/🚀 on the comment to bump minor/major.release.yamlnow flags*-next.*tags as GitHub Pre-releases. Distribution stays on jsDelivr (cdn.jsdelivr.net/gh/deco-cx/apps@<tag>/); customers runningdeno task updatekeep tracking stable because@deco/codemod-toolkit'seligibleLatestVersion()excludes semver prereleases by default — only an explicitapps@X.Y.Z-next.Npin opts a site in.Issue Link
Loom Video
Demonstration Link
🤖 Generated with Claude Code
Summary by cubic
Adds a prerelease channel on the
nextbranch with automatedX.Y.Z-next.Ntags and GitHub Pre-releases. This lets us ship preview builds without affecting stable users.New Features
nextget a “Prerelease Tagging” comment; merging publishesX.Y.Z-next.N.MAINTAINERS.txtare honored..Nauto-increments per base version.*-next.*tags are marked as GitHub Pre-releases.mainis unchanged. Distribution stays via jsDelivr; update tasks ignore prereleases by default, so consumers must pin an exactapps@X.Y.Z-next.Nto opt in.Migration
nextfrommainafter this merges.github-actions[bot]to push tonext.Written for commit 7a53f8c. Summary will update on new commits.
Summary by CodeRabbit