Skip to content

Commit

Permalink
And delete the quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
thephw committed Feb 23, 2024
1 parent 7415950 commit eb205a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/publish
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source bin/functions.sh
VERSION="v$(cat ./VERSION | tr -d '[:space:]')"

describe "Checking version against pyproject.toml"
PYPROJECT_VERSION=$(cat pyproject.toml | grep 'version = ' | awk '{print $3}')
PYPROJECT_VERSION=$(cat pyproject.toml | grep 'version = ' | awk '{print $3}' | tr -d '"')
if [ "v$PYPROJECT_VERSION" != "$VERSION" ]; then
echo "[ERROR] Version in pyproject.toml does not match VERSION file. Fix it and try again."
exit 1
Expand Down

0 comments on commit eb205a9

Please sign in to comment.