summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2018-05-15 10:51:52 -0400
committerJeff Forcier <jeff@bitprophet.org>2018-05-16 16:48:26 -0400
commitdc44094485a33101c1715147a968e97b13a95292 (patch)
treeb889f65d488e8cc4e1c4766a3114e21e2838f83e /tasks.py
parent033dbdad3dc01444b698c90012e1c43ff99cacb8 (diff)
downloadparamiko-dc44094485a33101c1715147a968e97b13a95292.tar.gz
Pass through index option for release task
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index d5ed25b1..22fd3509 100644
--- a/tasks.py
+++ b/tasks.py
@@ -81,7 +81,7 @@ def coverage(ctx, opts=""):
# TODO: would be nice to tie this into our own version of build() too, but
# still have publish() use that build()...really need to try out classes!
@task
-def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False):
+def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None):
"""
Wraps invocations.packaging.publish to add baked-in docs folder.
"""
@@ -93,7 +93,9 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False):
# TODO: make it easier to yank out this config val from the docs coll
copytree('sites/docs/_build', target)
# Publish
- publish(ctx, sdist=sdist, wheel=wheel, sign=sign, dry_run=dry_run)
+ publish(
+ ctx, sdist=sdist, wheel=wheel, sign=sign, dry_run=dry_run, index=index,
+ )
# Remind
print("\n\nDon't forget to update RTD's versions page for new minor "
"releases!")