Skip to content

Commit

Permalink
fix release regex
Browse files Browse the repository at this point in the history
  • Loading branch information
assem-ch committed Dec 9, 2023
1 parent 06ef1c0 commit 1ba23b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
sed -i "s/version=v[0-9a-zA-Z.]\{1,\}/VERSION='$(echo ${GITHUB_REF:10})'/g" jet/__init__.py
sed -i "s/VERSION='[0-9a-zA-Z.]\{1,\}'/VERSION='$(echo ${GITHUB_REF:10})'/g" jet/__init__.py
python setup.py sdist
python -m twine upload dist/*
2 changes: 1 addition & 1 deletion jet/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '1.3.2'
VERSION='1.3.2'

0 comments on commit 1ba23b9

Please sign in to comment.