Tweak upload destination for release task

This commit is contained in:
Lance Edgar 2022-07-29 13:49:08 -05:00
parent 0aee8fb8f3
commit 036556a5df

View file

@ -21,5 +21,5 @@ def release(ctx):
ctx.run("python setup.py egg_info --tag-build='' sdist --formats=gztar")
filename = 'appypod-rattail-{}.tar.gz'.format(__version__)
ctx.run('scp dist/{} rattail@pypi.rattailproject.org:/srv/pypi/'.format(filename))
ctx.run("ssh rattail@pypi.rattailproject.org 'cd /srv/pypi; rm -rf simple; compoze index'")
ctx.run('scp dist/{} rattail@pypi.rattailproject.org:/srv/pypi/public/'.format(filename))
ctx.run("ssh rattail@pypi.rattailproject.org 'cd /srv/pypi/public; rm -rf simple; compoze index'")