summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-05 15:15:53 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-05 15:15:53 -0800
commit9886b386b1f5f026c5d3529af8dd709d85be289e (patch)
tree64861d9740bdcd20bb0d921c612cba19aa38e1ac /tasks.py
parent6e443b75c8d3b0c6399ce2fbcf8a2cdb251dcaad (diff)
parenta2076f689d5ac5afee7f84528f7bb03f4a1aded4 (diff)
Merge branch '1.14' into 1.15
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index 3d55a778..d2bed606 100644
--- a/tasks.py
+++ b/tasks.py
@@ -25,7 +25,10 @@ def coverage(ctx):
# Until we stop bundling docs w/ releases. Need to discover use cases first.
@task
-def release(ctx):
+def release(ctx, sdist=True, wheel=True):
+ """
+ Wraps invocations.packaging.release to add baked-in docs folder.
+ """
# Build docs first. Use terribad workaround pending invoke #146
ctx.run("inv docs")
# Move the built docs into where Epydocs used to live
@@ -34,7 +37,7 @@ def release(ctx):
# TODO: make it easier to yank out this config val from the docs coll
copytree('sites/docs/_build', target)
# Publish
- publish(ctx)
+ publish(ctx, sdist=sdist, wheel=wheel)
# Remind
print("\n\nDon't forget to update RTD's versions page for new minor releases!")