Skip to content

Commit

Permalink
Fix create release step in github workflow. (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALiwoto authored Dec 24, 2024
1 parent a403264 commit 5471ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Set the Version
run: |
grep_result=$(grep version pyrogram/__init__.py)
grep_result=$(grep -E '__version__ = ".*"' pyrogram/__init__.py)
prefix="__version__ = \""
suffix="\""
final_value=${grep_result#"$prefix"}
Expand Down

0 comments on commit 5471ee0

Please sign in to comment.