fix: require strictly increasing renewal scores
All checks were successful
技能自动化发布 / release (push) Successful in 6s

This commit is contained in:
2026-09-14 22:42:22 +08:00
parent df5f1b7223
commit c05b765b9d
6 changed files with 34 additions and 9 deletions

View File

@@ -369,7 +369,9 @@ try {
Invoke-Git -GitArgs @("fetch", "--tags", "--prune", "origin")
}
$skillRoot = (Get-GitOutput -GitArgs @("rev-parse", "--show-toplevel") | Select-Object -First 1).Trim()
# Git output can be decoded through the legacy console code page on Windows
# PowerShell 5.1, corrupting a repository path that contains Chinese characters.
$skillRoot = $PSScriptRoot
if (Test-Path -LiteralPath (Join-Path $skillRoot "SKILL.md")) {
Assert-SkillReleasePackagingSources -SkillRoot $skillRoot
}