Compare commits
No commits in common. "master" and "v0.9.7" have entirely different histories.
8
tasks.py
8
tasks.py
|
@ -1,5 +1,7 @@
|
||||||
# -*- coding: utf-8; -*-
|
# -*- coding: utf-8; -*-
|
||||||
|
|
||||||
|
from __future__ import unicode_literals, absolute_import
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
@ -16,8 +18,8 @@ def release(ctx):
|
||||||
Release a new version of 'appypod-rattail'.
|
Release a new version of 'appypod-rattail'.
|
||||||
"""
|
"""
|
||||||
shutil.rmtree('appypod_rattail.egg-info')
|
shutil.rmtree('appypod_rattail.egg-info')
|
||||||
ctx.run('python -m build --sdist')
|
ctx.run("python setup.py egg_info --tag-build='' sdist --formats=gztar")
|
||||||
|
|
||||||
filename = 'appypod-rattail-{}.tar.gz'.format(__version__)
|
filename = 'appypod-rattail-{}.tar.gz'.format(__version__)
|
||||||
ctx.run('scp dist/{} rattail@pypi.rattailproject.org:/srv/pypi/public/'.format(filename))
|
ctx.run('scp dist/{} rattail@pypi.rattailproject.org:/srv/pypi/'.format(filename))
|
||||||
ctx.run("ssh rattail@pypi.rattailproject.org 'cd /srv/pypi/public; rm -rf simple; compoze index'")
|
ctx.run("ssh rattail@pypi.rattailproject.org 'cd /srv/pypi; rm -rf simple; compoze index'")
|
||||||
|
|
Loading…
Reference in a new issue