Skip to content

fix: remove SNAPSHOT suffix from GA release in MCP Registry#37

Merged
epugh merged 1 commit intoapache:mainfrom
adityamparikh:fix/version-calculation
Jan 7, 2026
Merged

fix: remove SNAPSHOT suffix from GA release in MCP Registry#37
epugh merged 1 commit intoapache:mainfrom
adityamparikh:fix/version-calculation

Conversation

@adityamparikh
Copy link
Contributor

Summary

Fixes a bug where the server.json package version was incorrectly appending -SNAPSHOT suffix when publishing official GA releases to the MCP Registry.

Problem

In release-publish.yml line 380, the package version was set to $VERSION-SNAPSHOT:

jq --arg v "$VERSION-SNAPSHOT" '.packages[0].version = $v' server.json.tmp > server.json

This is semantically incorrect for production GA releases.

Fix

Changed to use the GA version without -SNAPSHOT suffix:

jq --arg v "$VERSION" '.packages[0].version = $v' server.json.tmp > server.json

Test plan

  • Verify release-publish.yml workflow runs successfully
  • Verify server.json contains correct GA version without -SNAPSHOT

Related

This is part of a series of PRs to improve release workflow consistency:

🤖 Generated with Claude Code

The server.json package version was incorrectly appending -SNAPSHOT
suffix when publishing official GA releases to the MCP Registry.
This is semantically incorrect for production releases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Contributor

@epugh epugh left a comment

Choose a reason for hiding this comment

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

Lgtm

@epugh epugh merged commit c6dff38 into apache:main Jan 7, 2026
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