mirror of
https://github.com/microsoft/mcp.git
synced 2026-11-04 12:01:31 +00:00
Fabric MCP versioning strategy: minor-increment GA auto-bump and VSIX version (#2879)
* Use minor-increment GA versioning for Fabric MCP post-release auto-bump
Fabric MCP Server follows a GA-only, minor-increment versioning strategy. The post-release Update-Version.ps1 auto-increment now reuses the shared IncrementAndSetToPrerelease('Minor') to bump the minor segment and reset patch, then strips the prerelease label so the result is a stable GA release for Fabric.Mcp.Server (e.g. 1.1.0 -> 1.2.0). All other servers keep the existing patch + prerelease behavior. The synced eng/common SemVer.ps1 is intentionally left untouched.
* Use explicit minor bump for Fabric GA increment
Address PR review feedback: IncrementAndSetToPrerelease is designed to produce a prerelease and bumps the prerelease number when the input already has a label, so reusing it for a GA minor bump is fragile. Use a direct Minor++/Patch=0 instead, which has no dependency on the input being GA and no conflict with the 0.x prerelease rule.
* Use csproj version for Fabric MCP VSIX instead of Major.0.X
The VSIX version was computed independently of the csproj version using a Major.0.<next-marketplace-patch> scheme, so Fabric's 1.1.0 release published the extension as 1.0.1. Fabric MCP Server follows a GA-only, minor-increment strategy and drives its own explicit versions, so use the .csproj version verbatim for the VSIX to keep it in sync with the npm, NuGet, ADO feed, and MCR targets. Other servers keep the existing marketplace-derived patch behavior.
* Correct post-release version bump to 1.2.0
The post-release auto-increment (#2881) ran before the new minor-increment GA strategy landed and set the in-development version to 1.1.1-beta.1. Correct it to 1.2.0 in the csproj and CHANGELOG to match Fabric's GA-only, minor-increment strategy.
This commit is contained in:
1 parent
a7f17c1b6d
commit
a7d3655659
4 files changed
+23
-3
No files matched your search
@@ -464,6 +464,15 @@ function Get-ServerDetails {
|
||||
$vsixVersion = "$($version.Major).$($version.Minor).$($version.PrereleaseNumber)"
|
||||
$vsixIsPrerelease = $true
|
||||
}
|
||||
elseif ($serverName -eq 'Fabric.Mcp.Server') {
|
||||
# Fabric MCP Server follows a GA-only, minor-increment versioning strategy and
|
||||
# drives its own explicit version numbers. Use the .csproj version verbatim so the
|
||||
# VSIX stays in sync with the other release targets (npm, NuGet, etc.) instead of the
|
||||
# Major.0.X marketplace-derived patch scheme used by other servers.
|
||||
$vsixVersion = "$($version.Major).$($version.Minor).$($version.Patch)"
|
||||
$vsixIsPrerelease = $false
|
||||
Write-Host "Fabric MCP Server: using .csproj version for VSIX: $vsixVersion" -ForegroundColor Green
|
||||
}
|
||||
else {
|
||||
# For all non-beta versions, calculate next patch version from marketplace
|
||||
$vscodePath = "$RepoRoot/servers/$serverName/vscode"
|
||||
|
||||
@@ -29,7 +29,18 @@ $autoVersion = $false
|
||||
if (!$Version) {
|
||||
# get the number of commits since the last tag
|
||||
$nextVersion = [AzureEngSemanticVersion]::new($currentVersion)
|
||||
$nextVersion.IncrementAndSetToPrerelease('patch')
|
||||
if ($ServerName -eq 'Fabric.Mcp.Server') {
|
||||
# Fabric MCP Server follows a GA-only, minor-increment versioning strategy.
|
||||
# Bump the minor segment and reset patch so the next version is a stable GA
|
||||
# release (e.g. 1.1.0 -> 1.2.0). The shared IncrementAndSetToPrerelease helper
|
||||
# always produces a prerelease for non-zero major versions, so a direct minor
|
||||
# bump is used here instead.
|
||||
$nextVersion.Minor++
|
||||
$nextVersion.Patch = 0
|
||||
}
|
||||
else {
|
||||
$nextVersion.IncrementAndSetToPrerelease('patch')
|
||||
}
|
||||
$Version = $nextVersion.ToString()
|
||||
$autoVersion = $true
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ All notable changes to the Microsoft Fabric MCP Server will be documented in thi
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## 1.1.1-beta.1 (Unreleased)
|
||||
## 1.2.0 (Unreleased)
|
||||
|
||||
### Features Added
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Version>1.1.1-beta.1</Version>
|
||||
<Version>1.2.0</Version>
|
||||
<CliName>fabmcp</CliName>
|
||||
<AssemblyTitle>Fabric MCP Server</AssemblyTitle>
|
||||
<Description>Microsoft Fabric MCP Server - Model Context Protocol implementation for Fabric</Description>
|
||||
|
||||
Reference in new issue
Block a user