Skip to content

Commit f138758

Browse files
committed
Added local check for pypi uploading via twine
1 parent 474afc6 commit f138758

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pypi.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
# Functions #
5656
###############
5757

58+
local_test()
59+
{
60+
twine check dist/*
61+
}
62+
5863
upload_test_pypi()
5964
{
6065
# Upload to Test PyPi
@@ -106,6 +111,7 @@ upload_pypi()
106111

107112
rm -rf dist
108113
python3 -m build --sdist --wheel
109-
upload_test_pypi
114+
local_test
115+
# upload_test_pypi
110116
# upload_pypi
111117
rm -rf build dist stumpy.egg-info

0 commit comments

Comments
 (0)