diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 63ab5e5e6..86d53a36d 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -38,7 +38,7 @@ jobs: run: pipx install dunamai - name: Set version run: | - VERSION=$(dunamai from git --format "{base}{stage}{revision}" --pattern "^(?P\d+\.\d+\.\d+)((-(?Palpha|beta|theta))\.(?P\d+))?$" --latest-tag) + VERSION=$(dunamai from git --format "{base}{stage}{revision}" --pattern "^(?P\d+\.\d+\.\d+)((-(?Palpha|beta|rc))\.(?P\d+))?$" --latest-tag) # Convert stage names to PEP440 equivalents VERSION=${VERSION/alpha/a} VERSION=${VERSION/beta/b} diff --git a/src/Fable.Cli/CHANGELOG.md b/src/Fable.Cli/CHANGELOG.md index 65277af6c..b8d69fbaf 100644 --- a/src/Fable.Cli/CHANGELOG.md +++ b/src/Fable.Cli/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +* [Python] Fix PyPI publish workflow version pattern to support `rc` tags (by @dbrattli) * [Beam] Bundle `fable-library-beam` in NuGet package so `dotnet fable --lang beam` works (by @dbrattli) ## 5.0.0-rc.1 - 2026-02-26