Skip to content

Commit ded1a8e

Browse files
authored
💚 fix publish workflow (#44)
1 parent eac4d08 commit ded1a8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: compare
2424
run: |
2525
set -e
26-
VERSION=$(awk -F'"' '/__version__/ {print $2}' mysql-to-sqlite3/__init__.py)
26+
VERSION=$(awk -F'"' '/__version__/ {print $2}' mysql_to_sqlite3/__init__.py)
2727
TAG=${GITHUB_REF_NAME#v}
2828
if [[ "$VERSION" != "$TAG" ]]; then
2929
echo "Version in mysql-to-sqlite3/__version__.py ($VERSION) does not match tag ($TAG)"
@@ -41,7 +41,7 @@ jobs:
4141
pip install build setuptools wheel
4242
- name: Build a binary wheel and a source tarball
4343
id: build
44-
run: python3 build --sdist --wheel --outdir dist/ .
44+
run: python3 -m build --sdist --wheel --outdir dist/ .
4545
- name: Publish distribution package to Test PyPI
4646
id: publish_test
4747
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)