Skip to content

Commit

Permalink
Update pypi-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianp authored Jan 26, 2024
1 parent 327f9b4 commit 85e5f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
pip install .
RELEASE_VER=${GITHUB_REF#refs/*/}
PACKAGE_VER="v`python -c "import optax; print(optax.__version__)"`"
PACKAGE_VER="v`python -c 'import optax; print(optax.__version__)'`"
if [ $RELEASE_VER != $PACKAGE_VER ]
then
echo "package ver. ($PACKAGE_VER) != release ver. ($RELEASE_VER)"; exit 1
Expand Down

0 comments on commit 85e5f50

Please sign in to comment.