mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-22 01:28:55 +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