Skip to content

Commit f74bc85

Browse files
committed
Errors solved in py release.
1 parent e6d2514 commit f74bc85

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/release-python.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111
cancel-in-progress: true
1212

13-
env:
14-
PYTHON_PIPY_USER: ${{ secrets.PYTHON_PIPY_USER }}
15-
PYTHON_PIPY_PASSWORD: ${{ secrets.PYTHON_PIPY_PASSWORD }}
16-
1713
jobs:
1814
release:
1915
name: Release Python Port
@@ -24,6 +20,9 @@ jobs:
2420
with:
2521
fetch-depth: 0
2622
- name: Release the port
23+
env:
24+
PYTHON_PYPI_USER: ${{ secrets.PYTHON_PYPI_USER }}
25+
PYTHON_PYPI_PASSWORD: ${{ secrets.PYTHON_PYPI_PASSWORD }}
2726
run: |
2827
cd source/ports/py_port
2928
bash ./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

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ TWINE_PASSWORD=${PYTHON_PYPI_PASSWORD:-}
3434

3535
# Install dependencies and upload MetaCall package
3636
python3 -m pip install --user --upgrade twine setuptools wheel
37-
# python3 setup.py sdist bdist_wheel
38-
python3 -m build
37+
python3 setup.py sdist bdist_wheel
3938
python3 -m twine check dist/*
4039
python3 -m twine upload -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" dist/*
4140

0 commit comments

Comments
 (0)