Skip to content

Commit a12de8d

Browse files
committed
ci: fix pypi publishing
1 parent b35a744 commit a12de8d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ name: Publish Python 🐍 distributions 📦 to PyPI
1111
on:
1212
release:
1313
types: [published]
14+
pull_request:
1415

1516
permissions:
1617
contents: read
@@ -33,8 +34,10 @@ jobs:
3334
- name: Build package
3435
run: |
3536
python -m build --sdist --wheel --outdir dist/ .
37+
3638
- name: Publish package
37-
uses: pypa/gh-action-pypi-publish@v1.10.3
39+
uses: pypa/gh-action-pypi-publish@v1.12.4
3840
with:
39-
user: __token__
40-
password: ${{ secrets.PYPI_API_TOKEN }}
41+
verify-metadata: true
42+
password: ${{ secrets.TEST_PYPI }}
43+
repository-url: https://test.pypi.org/legacy/

tutorcodejail/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Helps you keep your cool when creating dozens of open edX and eduNEXT environments."""
2-
__version__ = "19.1.0"
2+
__version__ = "19.1.0.dev2"

0 commit comments

Comments
 (0)