diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2018-05-15 10:51:52 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2018-05-15 10:51:52 -0400 |
commit | fbcee2af141d6aca4746d9f24cbf3db549c11762 (patch) | |
tree | 875f1936267b8c7016bb6f2a9b47bd280a944013 | |
parent | 16d0d3ab37517a83d31b0c8a6887380a0454adef (diff) |
Pass through index option for release task
-rw-r--r-- | tasks.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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!") |