Registry needs [project.urls] Repository; fix zip workflow version regex

This commit is contained in:
mikesimone
2026-10-29 16:47:19 -07:00
parent 7df719ea76
commit 9c5ea89d28
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
if ($ref -like "refs/tags/*") {
$v = $ref -replace '^refs/tags/', ''
} else {
$v = (Get-Content -Raw -Path pyproject.toml) -match '^version\s*=\s*"([^"]+)"' | Out-Null
$v = (Get-Content -Raw -Path pyproject.toml) -match '(?m)^version\s*=\s*"([^"]+)"' | Out-Null
$v = $Matches[1]
}
"version=$v" | Out-File -FilePath $env:GITHUB_OUTPUT -Append -Encoding utf8