Skip to content

Commit 8099f0e

Browse files
author
Anze
committed
Fix invalid version when deploying to PyPi
1 parent cfdd025 commit 8099f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/on_release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
export VERSION=${GITHUB_REF_TAG:10:50}
3131
echo "Version is $VERSION"
3232
pip install --no-cache-dir twine pipenv wheel
33-
sed -i "s/@@VERSION@@/$CI_COMMIT_TAG/g" ./setup.py
33+
sed -i "s/@@VERSION@@/$VERSION/g" ./setup.py
3434
pipenv lock -r > requirements.txt
3535
python setup.py install
3636
python setup.py sdist

0 commit comments

Comments
 (0)