diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b63b580..75837d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,28 +94,28 @@ jobs: '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}' - # publish-to-testpypi: - # name: Publish Python 🐍 distribution 📦 to TestPyPI - # if: startsWith(github.ref, 'refs/tags/') # only publish to TestPyPI on tag pushes - # needs: - # - build - # runs-on: ubuntu-latest + publish-to-testpypi: + name: Publish Python 🐍 distribution 📦 to TestPyPI + if: startsWith(github.ref, 'refs/tags/') # only publish to TestPyPI on tag pushes + needs: + - build + runs-on: ubuntu-latest - # environment: - # name: testpypi - # url: ${{ env.PYPI_TEST_URL }} + environment: + name: testpypi + url: ${{ env.PYPI_TEST_URL }} - # permissions: - # id-token: write # IMPORTANT: mandatory for trusted publishing + permissions: + id-token: write # IMPORTANT: mandatory for trusted publishing - # steps: - # - name: Download all the dists - # uses: actions/download-artifact@v4 - # with: - # name: python-package-distributions - # path: dist/ - # - name: Publish distribution 📦 to TestPyPI - # uses: pypa/gh-action-pypi-publish@release/v1.10 - # with: - # repository-url: https://test.pypi.org/legacy/ - # skip-existing: true + steps: + - name: Download all the dists + uses: actions/download-artifact@v4 + with: + name: python-package-distributions + path: dist/ + - name: Publish distribution 📦 to TestPyPI + uses: pypa/gh-action-pypi-publish@release/v1.10 + with: + repository-url: https://test.pypi.org/legacy/ + skip-existing: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 76974b4..f35c100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.20.2 + +- Added testpypi release workflow. + +## 2.20.1 + +- Fixed a critical issue of 2.20.0. + ## 2.20.0 - Removed django-appconf again.