From f06d0729f3d82b5351c492acfac0950026a0bb4b Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Tue, 26 Oct 2021 09:50:04 +0200 Subject: [PATCH] ci: enable upload to pypi Signed-off-by: Gaetan Semet --- .github/workflows/release.yml | 11 ++++++----- releasenotes/notes/ci-893223bb47ff59de.yaml | 3 +++ 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 releasenotes/notes/ci-893223bb47ff59de.yaml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b453ee47..824561a3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/releasenotes/notes/ci-893223bb47ff59de.yaml b/releasenotes/notes/ci-893223bb47ff59de.yaml new file mode 100644 index 000000000..c498b0d14 --- /dev/null +++ b/releasenotes/notes/ci-893223bb47ff59de.yaml @@ -0,0 +1,3 @@ +other: + - | + Fix for release pipeline.