Skip to content

Commit

Permalink
Try again python.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Dec 18, 2024
1 parent a136a97 commit 60adf39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,5 @@ jobs:
with:
fetch-depth: 0
- name: Release the port
env:
PYTHON_PYPI_USER: ${{ secrets.PYTHON_PYPI_USER }}
PYTHON_PYPI_PASSWORD: ${{ secrets.PYTHON_PYPI_PASSWORD }}
run: |
cd source/ports/py_port
bash ./upload.sh
working-directory: source/ports/py_port
run: ./upload.sh
2 changes: 1 addition & 1 deletion source/ports/py_port/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.0
0.5.1
7 changes: 2 additions & 5 deletions source/ports/py_port/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ if [[ "$PYPI_VERSION" == "$PORT_VERSION" ]]; then
exit 0
fi

export TWINE_USERNAME=${PYTHON_PYPI_USER:-}
export TWINE_PASSWORD=${PYTHON_PYPI_PASSWORD:-}

# Install dependencies and upload MetaCall package
python3 -m pip install --user --upgrade twine setuptools wheel
python3 setup.py sdist bdist_wheel
python3 -m pip install --user --upgrade twine setuptools wheel build
python3 -m build
python3 -m twine check dist/*
python3 -m twine upload dist/*

Expand Down

0 comments on commit 60adf39

Please sign in to comment.