Skip to content

Commit 60adf39

Browse files
committed
Try again python.
1 parent a136a97 commit 60adf39

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.github/workflows/release-python.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,5 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222
- name: Release the port
23-
env:
24-
PYTHON_PYPI_USER: ${{ secrets.PYTHON_PYPI_USER }}
25-
PYTHON_PYPI_PASSWORD: ${{ secrets.PYTHON_PYPI_PASSWORD }}
26-
run: |
27-
cd source/ports/py_port
28-
bash ./upload.sh
23+
working-directory: source/ports/py_port
24+
run: ./upload.sh

source/ports/py_port/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.0
1+
0.5.1

source/ports/py_port/upload.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@ if [[ "$PYPI_VERSION" == "$PORT_VERSION" ]]; then
2929
exit 0
3030
fi
3131

32-
export TWINE_USERNAME=${PYTHON_PYPI_USER:-}
33-
export TWINE_PASSWORD=${PYTHON_PYPI_PASSWORD:-}
34-
3532
# Install dependencies and upload MetaCall package
36-
python3 -m pip install --user --upgrade twine setuptools wheel
37-
python3 setup.py sdist bdist_wheel
33+
python3 -m pip install --user --upgrade twine setuptools wheel build
34+
python3 -m build
3835
python3 -m twine check dist/*
3936
python3 -m twine upload dist/*
4037

0 commit comments

Comments
 (0)