File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ $MainChangelogPath = $ChangelogPath
6767$mainChangelogFile = Join-Path $RepoRoot $MainChangelogPath
6868$vscodeChangelogFile = Join-Path $RepoRoot $VsCodeChangelogPath
6969
70+ # VS Code changelog entries are marked "(pre-release)" by default. The Fabric
71+ # extension omits this suffix, so detect it from the changelog path.
72+ $preReleaseSuffix = if ($ChangelogPath -like ' *Fabric.Mcp.Server*' ) { ' ' } else { ' (pre-release)' }
73+
7074# Validate files exist
7175if (-not (Test-Path $mainChangelogFile )) {
7276 LogError " Main CHANGELOG not found: $mainChangelogFile "
@@ -155,7 +159,7 @@ if ($currentSection -and $currentEntries.Count -gt 0) {
155159
156160# Build VS Code changelog entry
157161$vscodeEntry = @ ()
158- $vscodeEntry += " ## $Version ($ ( Get-Date - Format ' yyyy-MM-dd' ) ) (pre-release) "
162+ $vscodeEntry += " ## $Version ($ ( Get-Date - Format ' yyyy-MM-dd' ) )$preReleaseSuffix "
159163$vscodeEntry += " "
160164
161165# Helper function to add section if it has content
You can’t perform that action at this time.
0 commit comments