Skip to content

Commit

Permalink
Rewrite ‘release.sh’ script to use ‘build’ package
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-rhodes committed May 3, 2024
1 parent f4c4796 commit 062e277
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

set -e

python3 setup.py sdist upload || true

sed -i '1iimport setuptools' setup.py
python3 setup.py bdist_wheel upload || true
git checkout setup.py
rm -r build logging_tree.egg-info
PYTHONDONTWRITEBYTECODE= python -m build .
echo
echo Now run: twine upload ... for both the new files in build/

0 comments on commit 062e277

Please sign in to comment.