Skip to content

Commit

Permalink
Update PyPI Integrations for Release Uplaod
Browse files Browse the repository at this point in the history
  • Loading branch information
JN-Hernandez committed Apr 15, 2024
1 parent 4c42ec2 commit 0f6015f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout commit and fetch tag history
uses: actions/checkout@v2
Expand All @@ -25,10 +27,10 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish package
env:
TWINE_USERNAME: ${{ secrets.PYPI_AZAVEA_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_AZAVEA_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Build release package
run: python setup.py sdist bdist_wheel

- name: Upload release to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,7 @@ v6.2.0, 2024-01-22
previously would provide an internal Loc_name field in the response which
is no longer supplied, which broke the API. Making that field optional in
our code fixes this.

v6.2.1, 2024-04-15
------------------
* Update PyPI publishing integration

0 comments on commit 0f6015f

Please sign in to comment.