From 28571d8d7f7b1d10feeb0d120cd837a16d194ed6 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 8 Oct 2021 21:23:15 -0400 Subject: Less confusing name of overriding task please --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tasks.py') diff --git a/tasks.py b/tasks.py index bea7e27a..06cba017 100644 --- a/tasks.py +++ b/tasks.py @@ -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, -- cgit v1.2.1