Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion eng/scripts/Sync-VsCodeChangelog.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ $MainChangelogPath = $ChangelogPath
$mainChangelogFile = Join-Path $RepoRoot $MainChangelogPath
$vscodeChangelogFile = Join-Path $RepoRoot $VsCodeChangelogPath

# VS Code changelog entries are marked "(pre-release)" by default. The Fabric
# extension omits this suffix, so detect it from the changelog path.
$preReleaseSuffix = if ($ChangelogPath -like '*Fabric.Mcp.Server*') { '' } else { ' (pre-release)' }

# Validate files exist
if (-not (Test-Path $mainChangelogFile)) {
LogError "Main CHANGELOG not found: $mainChangelogFile"
Expand Down Expand Up @@ -155,7 +159,7 @@ if ($currentSection -and $currentEntries.Count -gt 0) {

# Build VS Code changelog entry
$vscodeEntry = @()
$vscodeEntry += "## $Version ($(Get-Date -Format 'yyyy-MM-dd')) (pre-release)"
$vscodeEntry += "## $Version ($(Get-Date -Format 'yyyy-MM-dd'))$preReleaseSuffix"
$vscodeEntry += ""

# Helper function to add section if it has content
Expand Down