Skip to content

Commit

Permalink
Errors solved in py release.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Dec 18, 2024
1 parent e6d2514 commit f74bc85
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
PYTHON_PIPY_USER: ${{ secrets.PYTHON_PIPY_USER }}
PYTHON_PIPY_PASSWORD: ${{ secrets.PYTHON_PIPY_PASSWORD }}

jobs:
release:
name: Release Python Port
Expand All @@ -24,6 +20,9 @@ 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
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
3 changes: 1 addition & 2 deletions source/ports/py_port/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ 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 build
python3 setup.py sdist bdist_wheel
python3 -m twine check dist/*
python3 -m twine upload -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" dist/*

Expand Down

0 comments on commit f74bc85

Please sign in to comment.