Skip to content

feat(ci): replace semantic-release with release-please - #16

Open
caio-pizzol wants to merge 2 commits into
mainfrom
caio/release-please
Open

feat(ci): replace semantic-release with release-please#16
caio-pizzol wants to merge 2 commits into
mainfrom
caio/release-please

Conversation

@caio-pizzol

Copy link
Copy Markdown
Contributor

The Release workflow started failing after branch protection was added to main: semantic-release's @semantic-release/git step pushes version-bump commits directly to main, which is now rejected (GH006 — PR-only + required cubic check; see run 31536502759). Release Please fixes this structurally: version bumps and changelogs land via a normal release PR that goes through the same protection as everything else, and tags + GitHub Releases are created when that PR merges.

Changes

  • release.yml → single googleapis/release-please-action@v4 job (manifest mode)
  • release-please-config.json + .release-please-manifest.json: two node packages, apps/mcp-server and apps/web, seeded at their current versions (both 1.3.0); tag series continue as mcp-v* / web-v*
  • Removed apps/*/.releaserc.json, the root release script, and the five semantic-release devDependencies (lockfile updated)
  • Dropped the old paths filter — release-please decides per-package relevance from commit file paths itself, and the release PR's own merge (root manifest files) must also trigger the workflow
  • The old prepareCmd build check is covered by CI running on the release PR

Follow-up needed (repo settings, not in this PR): add a RELEASE_PLEASE_TOKEN secret (PAT or GitHub App token with contents+PR write). The workflow falls back to github.token, but PRs opened with it don't trigger the CI workflow, so the required check status would be missing on release PRs until the secret exists (close/reopen the release PR as a manual workaround).

Must stay the same: tag formats mcp-v*/web-v*; deploys remain manual (bun run deploy / wrangler) — this PR only changes versioning/release automation.
Review: check the manifest paths/versions against the existing tags. Ignore the biome warning in scripts/ingest-xsd (pre-existing).
Verified: bun install → 5 packages removed; bun run typecheck → clean; lefthook pre-commit (build/format/lint/typecheck) → all green

🤖 Generated with Claude Code

semantic-release pushed version-bump commits directly to main, which
branch protection now rejects (PR-only + required cubic check). Release
Please routes the bump/changelog through a normal PR instead: merge it
and the tags + GitHub releases are created. Manifest seeded at the
current mcp-v1.3.0 / web-v1.3.0 tags; component tag prefixes preserved.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@caio-pizzol
caio-pizzol marked this pull request as ready for review August 11, 2026 21:45

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d06b21ad4a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread release-please-config.json

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 7 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .github/workflows/release.yml
Comment thread release-please-config.json
… versions

issues:write is needed for release-please's PR labeling. packages/shared
ships inside the MCP server, so it's registered as a package and version-
linked to mcp: shared-only commits now cut an mcp-v* release again (the
old semantic-release analyzed commits repo-wide). linked-versions is used
instead of node-workspace to avoid rewriting workspace:* dep specs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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