chore: auto release commit (2026-03-24 18:06:10)
This commit is contained in:
@@ -184,8 +184,8 @@ try {
|
|||||||
$nextTag = Get-NextTag -TagPrefix $Prefix
|
$nextTag = Get-NextTag -TagPrefix $Prefix
|
||||||
Write-Host "Next tag: $nextTag" -ForegroundColor Green
|
Write-Host "Next tag: $nextTag" -ForegroundColor Green
|
||||||
|
|
||||||
$existing = Get-GitOutput "tag --list `"$nextTag`""
|
$existing = @(Get-GitOutput "tag --list `"$nextTag`"")
|
||||||
if ($existing.Count -gt 0) {
|
if ($existing.Length -gt 0) {
|
||||||
throw "Tag already exists: $nextTag"
|
throw "Tag already exists: $nextTag"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user