diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2015-11-05 15:15:51 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2015-11-05 15:15:51 -0800 |
commit | cd4073122e1cda1fec4bf0bae7ba0dede6fd3635 (patch) | |
tree | 4332c13660a538bf89cc0c94b08206c06a261f52 /tasks.py | |
parent | 3a5227c477295c8e14e395d3ac66e9a58db0ebc8 (diff) |
Passthru sdist/wheel options for release task
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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!") |