Skip to content

Commit e8f9df0

Browse files
author
Mathias Millet
committed
publish job
1 parent 0de30f4 commit e8f9df0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ jobs:
1616
with:
1717
python-version: '3.10'
1818
- name: Setup and build
19-
run: >-
20-
python -m
21-
pip install build wheel
22-
version$(echo $GITHUB_REF | cut -d / -f 3)
19+
run: |
20+
python -m pip install build wheel
21+
version=$(echo $GITHUB_REF | cut -d / -f 3)
2322
sed -i "s/__version__ = .*/__version__ = \"$version\"/g" mmuxer/__init__.py
2423
python -m build --sdist --wheel
2524
- name: Publish distribution to PyPI

0 commit comments

Comments
 (0)