Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 56c4945b43 | |||
| 5dca65f738 |
1 changed files with 7 additions and 2 deletions
|
|
@ -19,6 +19,11 @@ pypi-twine:
|
|||
- tags
|
||||
script:
|
||||
- pip install --upgrade pip
|
||||
- pip install twine
|
||||
# Pin twine <6 — newer twine auto-detects GitLab CI and refuses to
|
||||
# fall back to ~/.pypirc on the runner, requiring PYPI_ID_TOKEN
|
||||
# (Trusted Publishing OIDC). Until we migrate to Trusted Publishing,
|
||||
# stick with the classic ~/.pypirc auth on the build runner.
|
||||
- pip install "twine<6"
|
||||
- python3 setup.py sdist bdist_wheel
|
||||
- twine upload dist/*
|
||||
- twine check dist/*
|
||||
- twine upload --non-interactive dist/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue