diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2021-10-08 21:23:15 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2021-10-08 21:23:15 -0400 |
commit | 28571d8d7f7b1d10feeb0d120cd837a16d194ed6 (patch) | |
tree | 85c007563581ef0de0d5a4e2b159bb2a3019ea56 /tasks.py | |
parent | 143cb7c0d888db3594ff5d312674e8e3afb5d0a3 (diff) |
Less confusing name of overriding task please
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -101,7 +101,7 @@ def guard(ctx, opts=""): # TODO 3.0: I'd like to just axe the 'built docs in sdist', none of my other # projects do it. @task -def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None): +def publish_(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None): """ Wraps invocations.packaging.publish to add baked-in docs folder. """ @@ -126,7 +126,7 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None): # TODO: "replace one task with another" needs a better public API, this is # using unpublished internals & skips all the stuff add_task() does re: # aliasing, defaults etc. -release_coll.tasks["publish"] = release +release_coll.tasks["publish"] = publish_ ns = Collection( test, |