Skip to content

Commit

Permalink
Activated the testpypi release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverandrich committed Nov 24, 2024
1 parent 9cacd9a commit 6b9d960
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 6b9d960

Please sign in to comment.