mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-26 06:01:15 +08:00
Added the deploy script.
This commit is contained in:
13
deploy.sh
Executable file
13
deploy.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
# Create tag
|
||||
git tag $(python -c 'import parso; print(parso.__version__)')
|
||||
git push --tags
|
||||
|
||||
# Package and upload to PyPI
|
||||
rm -rf dist/
|
||||
python setup.py sdist bdist_wheel
|
||||
# Maybe do a pip install twine before.
|
||||
twine upload dist/*
|
||||
Reference in New Issue
Block a user