Skip to content

Commit b01a2a0

Browse files
committed
fix: correct publish workflow version check quoting
1 parent 5ca9ebb commit b01a2a0

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
@@ -27,7 +27,7 @@ jobs:
2727
if: startsWith(github.ref, 'refs/tags/v')
2828
run: |
2929
TAG_VERSION="${GITHUB_REF_NAME#v}"
30-
PACKAGE_VERSION="$(python -c \"import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])\")"
30+
PACKAGE_VERSION="$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")"
3131
if [ "$TAG_VERSION" != "$PACKAGE_VERSION" ]; then
3232
echo "Tag version ($TAG_VERSION) does not match package version ($PACKAGE_VERSION)."
3333
exit 1

0 commit comments

Comments
 (0)