Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
Update prepare_release.sh for Github Actions
Browse files Browse the repository at this point in the history
Artifacts are now built by Actions
  • Loading branch information
bmerry committed Sep 2, 2021
1 parent 8fb5732 commit 96b7a6a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@
# - Update birdisle/_version.py
# - Update doc/changelog.rst
# - Run this script
# - Push to Github
# - Download sdist and wheels from Github Actions
# - Upload the source dist and wheels to PyPI
# - Create a git tag and push it

set -e -u

python - <<EOF
import sys
if sys.version_info[0] != 3:
raise RuntimeError("Run in a Python 3 environment")
EOF
pip install setuptools_git
make -C doc clean
make -C doc html
flake8
pytest --forked
./setup.py sdist
./mkwheels.sh

0 comments on commit 96b7a6a

Please sign in to comment.