chore: auto release commit (2026-03-24 18:06:10)

This commit is contained in:
2026-03-24 18:06:10 +08:00
parent 3b6f15ecbb
commit d54a69cba8

View File

@@ -184,8 +184,8 @@ try {
$nextTag = Get-NextTag -TagPrefix $Prefix
Write-Host "Next tag: $nextTag" -ForegroundColor Green
$existing = Get-GitOutput "tag --list `"$nextTag`""
if ($existing.Count -gt 0) {
$existing = @(Get-GitOutput "tag --list `"$nextTag`"")
if ($existing.Length -gt 0) {
throw "Tag already exists: $nextTag"
}