We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d2969c commit 68691c4Copy full SHA for 68691c4
.github/workflows/publish-to-pypi.yml
@@ -53,8 +53,9 @@ jobs:
53
# GitHub Release tag and the package
54
- name: Verify version tag
55
run: |
56
- # Extract version from the GitHub release tag (e.g., v1.2.3 -> 1.2.3)
57
- TAG_VERSION=${GITHUB_REF#refs/tags/v}
+ # Extract version from the GitHub release tag (e.g., v1.2.3 -> 1.2.3 or 1.2.3 -> 1.2.3)
+ TAG_VERSION=${GITHUB_REF#refs/tags/}
58
+ TAG_VERSION=${TAG_VERSION#v}
59
60
# Extract version from pyproject.toml [project] section
61
PACKAGE_VERSION=$(python << 'EOF'
0 commit comments