build: fix command to build package, per newer convention
This commit is contained in:
parent
5b4d4729eb
commit
eae58f97ad
2
tasks.py
2
tasks.py
|
@ -52,6 +52,6 @@ def release(c):
|
||||||
"""
|
"""
|
||||||
if os.path.exists('tailbone_corepos.egg-info'):
|
if os.path.exists('tailbone_corepos.egg-info'):
|
||||||
shutil.rmtree('tailbone_corepos.egg-info')
|
shutil.rmtree('tailbone_corepos.egg-info')
|
||||||
c.run('python setup.py sdist --formats=gztar')
|
c.run('python -m build --sdist')
|
||||||
filename = f'tailbone_corepos-{__version__}.tar.gz'
|
filename = f'tailbone_corepos-{__version__}.tar.gz'
|
||||||
c.run('twine upload dist/{}'.format(filename))
|
c.run('twine upload dist/{}'.format(filename))
|
||||||
|
|
Loading…
Reference in a new issue