Skip to content

fix: skip published MCP release tags#190

Merged
jlitola merged 1 commit into
mainfrom
rhetorical-child
Jun 23, 2026
Merged

fix: skip published MCP release tags#190
jlitola merged 1 commit into
mainfrom
rhetorical-child

Conversation

@jlitola

@jlitola jlitola commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • check whether @githits/mcp@VERSION is already published before enforcing that mcp-vVERSION points at HEAD
  • keep the tag-to-HEAD guard for unpublished MCP versions that could publish from the workflow
  • add a release-boundary regression assertion for the guard ordering and condition

Tests

  • bun test src/package-release-boundaries.test.ts
  • bunx biome format src/package-release-boundaries.test.ts .github/workflows/mcp-release.yml
  • pre-commit hook: bun run typecheck

Check the published npm version before enforcing that the MCP release tag points at HEAD, so normal Main runs with an unchanged MCP version skip cleanly instead of failing on the historical tag.
@jlitola jlitola merged commit 6fcf886 into main Jun 23, 2026
10 checks passed
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