Skip to content

Commit 0f7ddb2

Browse files
use default tag regex from scm tools
1 parent b8099b5 commit 0f7ddb2

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ jobs:
4646
permissions:
4747
id-token: write
4848
steps:
49-
- name: Validate tag format
50-
run: |
51-
if [[ ! "${GITHUB_REF_NAME}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
52-
echo "Invalid tag '${GITHUB_REF_NAME}'. Expected format: vX.Y.Z"
53-
exit 1
54-
fi
55-
5649
- name: Download distribution artifacts
5750
uses: actions/download-artifact@v6
5851
with:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Source = "https://github.com/OpenEarable/open-earable-python"
3535
Issues = "https://github.com/OpenEarable/open-earable-python/issues"
3636

3737
[tool.setuptools_scm]
38-
tag_regex = "^v(?P<version>\\d+\\.\\d+\\.\\d+)$"
3938
version_scheme = "no-guess-dev"
4039
local_scheme = "no-local-version"
4140
fallback_version = "0.0.0"

0 commit comments

Comments
 (0)