Skip to content

Commit 7e486ed

Browse files
nit
1 parent eb0fc94 commit 7e486ed

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/dry-run-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ jobs:
113113
pip install build twine
114114
twine check wheelhouse/*
115115
116+
- name: Cleanup old packages
117+
with:
118+
PYPI_CLEANUP_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
119+
run: |
120+
pip install pypi-cleanup
121+
pypi-cleanup -u __token__ -p tesseract-decoder -t https://test.pypi.org/ -r .*dev2025.* -y
122+
116123
- name: Publish package to testpypi
117124
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
118125
with:

0 commit comments

Comments
 (0)