Skip to content

Commit 35201aa

Browse files
authored
Strict twine check
1 parent f702c1c commit 35201aa

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

RELEASING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ scripts/generate-translation-binaries.sh
2222
pip install -U pip build keyring twine
2323
rm -rf build dist
2424
python -m build
25-
twine check dist/*
26-
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
25+
twine check --strict dist/* && twine upload --repository-url https://test.pypi.org/legacy/ dist/*
2726
```
2827

2928
- [ ] (Optional) Check **test** installation:
@@ -46,8 +45,7 @@ git tag -a 2.1.0 -m "Release 2.1.0"
4645
pip install -U pip build keyring twine
4746
rm -rf build dist
4847
python -m build
49-
twine check dist/*
50-
twine upload -r pypi dist/*
48+
twine check --strict dist/* && twine upload -r pypi dist/*
5149
```
5250

5351
* [ ] Check installation:

0 commit comments

Comments
 (0)