Skip to content

Commit 09b25e4

Browse files
RunClaude.ps1: fix TeamCity addBuildTag service message format.
Remove the named 'tag=' argument which is not supported by built-in TeamCity service messages. The correct format is: ##teamcity[addBuildTag 'value'] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 172ee67 commit 09b25e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PostSharp.Engineering.BuildTools/Resources/RunClaude.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ if ($Prompt)
204204
$tagValue = $Prompt -replace '\|','||' -replace "'","|'" -replace '\[','|[' -replace '\]','|]' -replace "`n",'|n' -replace "`r",'|r'
205205
# Truncate to avoid excessively long tags
206206
if ($tagValue.Length -gt 200) { $tagValue = $tagValue.Substring(0, 200) + "..." }
207-
Write-Host "##teamcity[addBuildTag tag='$tagValue']"
207+
Write-Host "##teamcity[addBuildTag '$tagValue']"
208208
}
209209

210210
# Stream JSON output for human-readable real-time monitoring

0 commit comments

Comments
 (0)