Bug Description
The release workflow edits server.json with a text pattern that assumes packages appears immediately after the top-level version. The current file has websiteUrl between them, so the top-level version stays at 1.0.0 while the package version changes. The registry then rejects the release as a duplicate. The publish step uses continue-on-error, so the overall release still appears successful.
Component
Which component is this bug related to?
Release automation / MCP Registry publishing.
Command/Usage
For CLI:
For MCP Server:
- Tool name: N/A
- Action: N/A
- Parameters used: N/A
Expected Behavior
The release workflow should set both server.version and packages[0].version to the release version, publish that version, and fail visibly if publishing fails for any reason other than an already-confirmed identical version.
Actual Behavior
For the 2.0.0 release, the generated registry metadata kept top-level version 1.0.0 and changed only the NuGet package version to 2.0.0. The registry rejected it as a duplicate 1.0.0, but the workflow remained green. Version 2.0.0 had to be published manually with corrected metadata.
Error Message
If applicable, paste the full error message:
invalid version: cannot publish duplicate version
Environment
- Windows Version: GitHub-hosted
windows-latest
- Excel Version: N/A
- ExcelMcp Version: 2.0.0 release workflow
- .NET Version: Workflow-managed .NET 10
- Installation Method: Source release workflow
- File Format: N/A
- VBA Trust Enabled: N/A
- AI Assistant (if using MCP Server): N/A
Sample File
N/A
VBA-Related Issues (if applicable)
N/A
Steps to Reproduce
- Run
.github/workflows/release.yml for a new version.
- Inspect the
Update server.json Version output or the file used by mcp-publisher.
- Observe that the top-level version remains
1.0.0 because websiteUrl sits between version and packages.
- Observe the registry duplicate-version error while the job still reports success.
Additional Context
Use JSON parsing and property assignment instead of a layout-sensitive regular expression. Add a check that both version fields equal the requested release before publishing. The 2.0.0 registry entry was repaired manually and is live.
Excel Process Cleanup
Bug Description
The release workflow edits
server.jsonwith a text pattern that assumespackagesappears immediately after the top-levelversion. The current file haswebsiteUrlbetween them, so the top-level version stays at1.0.0while the package version changes. The registry then rejects the release as a duplicate. The publish step usescontinue-on-error, so the overall release still appears successful.Component
Which component is this bug related to?
mcp-excel)ExcelMcp.exe)Release automation / MCP Registry publishing.
Command/Usage
For CLI:
For MCP Server:
Expected Behavior
The release workflow should set both
server.versionandpackages[0].versionto the release version, publish that version, and fail visibly if publishing fails for any reason other than an already-confirmed identical version.Actual Behavior
For the 2.0.0 release, the generated registry metadata kept top-level version
1.0.0and changed only the NuGet package version to2.0.0. The registry rejected it as a duplicate1.0.0, but the workflow remained green. Version 2.0.0 had to be published manually with corrected metadata.Error Message
If applicable, paste the full error message:
Environment
windows-latestSample File
N/A
VBA-Related Issues (if applicable)
N/A
Steps to Reproduce
.github/workflows/release.ymlfor a new version.Update server.json Versionoutput or the file used bymcp-publisher.1.0.0becausewebsiteUrlsits betweenversionandpackages.Additional Context
Use JSON parsing and property assignment instead of a layout-sensitive regular expression. Add a check that both version fields equal the requested release before publishing. The 2.0.0 registry entry was repaired manually and is live.
Excel Process Cleanup