mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-06 20:24:31 +08:00
do not release if uncommitted changes
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/usr/local/bin/xonsh
|
||||
|
||||
try:
|
||||
no_uncommitted_changes = bool(!(git diff-index --quiet HEAD --))
|
||||
if no_uncommitted_changes:
|
||||
pip install wheel twine
|
||||
python setup.py sdist bdist_wheel
|
||||
twine upload dist/*
|
||||
|
||||
Reference in New Issue
Block a user