Upload to PyPI for release task
This commit is contained in:
parent
70b1d72361
commit
9fe89f0190
7
tasks.py
7
tasks.py
|
@ -47,8 +47,5 @@ def release(c):
|
||||||
# filename of built package
|
# filename of built package
|
||||||
filename = 'rattail-nationbuilder-{}.tar.gz'.format(__version__)
|
filename = 'rattail-nationbuilder-{}.tar.gz'.format(__version__)
|
||||||
|
|
||||||
# TODO: uncomment and update these details, to upload to private PyPI
|
# upload to PyPI
|
||||||
#c.run('scp dist/{} rattail@pypi.example.com:/srv/pypi/rattail-nationbuilder/'.format(filename))
|
c.run('twine upload dist/{}'.format(filename))
|
||||||
|
|
||||||
# TODO: or, uncomment this to upload to *public* PyPI
|
|
||||||
#c.run('twine upload dist/{}'.format(filename))
|
|
||||||
|
|
Loading…
Reference in a new issue