Avoid error for first-time release
This commit is contained in:
parent
2532c55ed8
commit
9043053134
1
tasks.py
1
tasks.py
|
@ -19,6 +19,7 @@ def release(c):
|
||||||
Release a new version of Messkit
|
Release a new version of Messkit
|
||||||
"""
|
"""
|
||||||
# rebuild local tar.gz file for distribution
|
# rebuild local tar.gz file for distribution
|
||||||
|
if os.path.exists('Messkit.egg-info'):
|
||||||
shutil.rmtree('Messkit.egg-info')
|
shutil.rmtree('Messkit.egg-info')
|
||||||
c.run('python -m build --sdist')
|
c.run('python -m build --sdist')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue