Skip to content

Commit

Permalink
Update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Jul 21, 2021
1 parent 0fbfcc1 commit 52a06cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi
function usage() {
echo -n \
"Usage: $(basename "$0")
Publish all stactools.threedeps.
Publish stactools-threedep.
Options:
--test Publish to test pypi
Expand Down Expand Up @@ -49,6 +49,7 @@ fi

if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
rm -rf dist
python setup.py sdist bdist_wheel
pip install build twine
python -m build --sdist --wheel
twine upload ${TEST_PYPI} dist/*
fi

0 comments on commit 52a06cf

Please sign in to comment.