mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
14 lines
268 B
Bash
Executable File
14 lines
268 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
# Create tag
|
|
git tag v$(python -c 'import jedi; print(jedi.__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/*
|