Skip to content

Commit 5971229

Browse files
committed
[Fix] get version from _version.py
1 parent 6fbcad3 commit 5971229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Get package version
2222
id: getversion
2323
run: |
24-
VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)
24+
VERSION=$(sed -n 's/^__version__ = "\(.*\)"/\1/p' mpython/_version.py)
2525
echo "pyproject.toml version: $VERSION"
2626
git config user.name github-actions
2727
git config user.email [email protected]

0 commit comments

Comments
 (0)