We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a01f9 commit 4ee6eb8Copy full SHA for 4ee6eb8
.github/workflows/publish.yml
@@ -39,7 +39,7 @@ jobs:
39
40
- name: Make sure pyproject.toml version matches git version
41
run: |
42
- git_version=$(git describe)
+ git_version="${GITHUB_REF#refs/tags/}"
43
pyproject_version=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")
44
45
if [ "$git_verson" != "$pyproject_version" ]; then
0 commit comments