summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tasks.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/tasks.py b/tasks.py
index 06cba017..362384fa 100644
--- a/tasks.py
+++ b/tasks.py
@@ -116,17 +116,22 @@ def publish_(ctx, sdist=True, wheel=True, sign=True, dry_run=False, index=None):
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!"
- )
+
+
+# Also have to hack up the newly enhanced all_() so it uses our publish
+@task(name="all", default=True)
+def all_(c, dry_run=False):
+ release_coll["prepare"](c, dry_run=dry_run)
+ publish_(c, dry_run=dry_run)
+ release_coll["push"](c, dry_run=dry_run)
+ release_coll["tidelift"](c, dry_run=dry_run)
# 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"] = publish_
+release_coll.tasks["all"] = all_
ns = Collection(
test,