Skip to content

Commit

Permalink
ci: enable upload to pypi
Browse files Browse the repository at this point in the history
Signed-off-by: Gaetan Semet <[email protected]>
  • Loading branch information
gsemet authored and Davidy22 committed Jan 18, 2022
1 parent 099e90e commit f06d072
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ jobs:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/

# - name: Publish distribution 📦 to PyPI
# if: startsWith(github.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
verify_metadata: false
password: ${{ secrets.PYPI_API_TOKEN }}
3 changes: 3 additions & 0 deletions releasenotes/notes/ci-893223bb47ff59de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
other:
- |
Fix for release pipeline.

0 comments on commit f06d072

Please sign in to comment.