Skip to content

Commit 4ee6eb8

Browse files
committedFeb 21, 2025
Fix publish workflow
1 parent 06a01f9 commit 4ee6eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
- name: Make sure pyproject.toml version matches git version
4141
run: |
42-
git_version=$(git describe)
42+
git_version="${GITHUB_REF#refs/tags/}"
4343
pyproject_version=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")
4444
4545
if [ "$git_verson" != "$pyproject_version" ]; then

0 commit comments

Comments
 (0)
Failed to load comments.