diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2698429..1dd650c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index adc4b2f..1a24714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## v1.0.1 (2026-10-01) -- Fix registry publishing config: `[tool.comfy]`, publisher `grumpycarebear`, project name `linkmodetoggle` (the existing registry id), version above the registry's 1.0.0 +- Fix registry publishing config: `[tool.comfy]`, publisher `grumpycarebear`, project name `linkmodetoggle` (the existing registry id), version above the registry's 1.0.0, `[project.urls] Repository` (the registry requires it) +- Fix the zip/release workflow's version lookup (multiline regex) ## v0.1.1 (2025-11-08) - Added console logging diff --git a/pyproject.toml b/pyproject.toml index 55512c9..67e55bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,9 @@ authors = [{ name = "Mike Simone", email = "mike@antonlabs.com" }] readme = "README.md" requires-python = ">=3.10" +[project.urls] +Repository = "https://github.com/mikesimone/ComfyUI-LinkModeToggle" + [tool.comfy] PublisherId = "grumpycarebear" DisplayName = "ComfyUI Link Mode Toggle"