We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bccdc5 commit d9678ffCopy full SHA for d9678ff
.github/workflows/release-source.yml
@@ -90,7 +90,8 @@ jobs:
90
- name: Check for pyproject.toml
91
id: check-pyproject-toml
92
run: |
93
- if [ -f "pyproject.toml" ]; then
+ # Check if pyproject.toml exists and contains a version field
94
+ if [ -f "pyproject.toml" ] && grep -q "^version\s*=" "pyproject.toml"; then
95
echo "has_pyproject_toml=true" >> "$GITHUB_OUTPUT"
96
else
97
echo "has_pyproject_toml=false" >> "$GITHUB_OUTPUT"
0 commit comments