You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/04/22 18:52:40 UTC

(tooling-trusted-releases) 01/01: Rename distribute to publish in the announcement UI

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch altera
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit fc4ae3e68f8e4ba371efafb545717b2c6956b11e
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Wed Apr 22 19:52:10 2026 +0100

    Rename distribute to publish in the announcement UI
---
 atr/get/announce.py         | 4 ++--
 atr/get/finish.py           | 4 ++--
 atr/templates/tutorial.html | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/atr/get/announce.py b/atr/get/announce.py
index add39148..b002da41 100644
--- a/atr/get/announce.py
+++ b/atr/get/announce.py
@@ -102,8 +102,8 @@ async def selected(
     )
 
     return await template.blank(
-        title=f"Announce and distribute {release.project.display_name} {release.version}",
-        description=f"Announce and distribute {release.project.display_name} {release.version} as a release.",
+        title=f"Announce and publish {release.project.display_name} {release.version}",
+        description=f"Announce and publish {release.project.display_name} {release.version} as a release.",
         content=content,
         javascripts=["announce-confirm"],
     )
diff --git a/atr/get/finish.py b/atr/get/finish.py
index c3e5b113..e99ca165 100644
--- a/atr/get/finish.py
+++ b/atr/get/finish.py
@@ -457,7 +457,7 @@ def _render_release_card(release: sql.Release, announce_disable_message: str) ->
                 ],
                 htm.a(
                     f".btn{announce_classes}.me-2",
-                    title=f"Announce and distribute {release.key}",
+                    title=f"Announce and publish {release.key}",
                     href=util.as_url(
                         announce.selected,
                         project_key=release.project.key,
@@ -467,7 +467,7 @@ def _render_release_card(release: sql.Release, announce_disable_message: str) ->
                     else None,
                 )[
                     htm.icon("check-circle"),
-                    " Announce and distribute",
+                    " Announce and publish",
                 ],
                 htm.span(".page-preview-meta-item.page-extra-muted")[f"{announce_disable_message}"],
             ],
diff --git a/atr/templates/tutorial.html b/atr/templates/tutorial.html
index b8360534..2329abac 100644
--- a/atr/templates/tutorial.html
+++ b/atr/templates/tutorial.html
@@ -110,12 +110,12 @@
     During this phase you should distribute release artifacts to your package distribution networks such as Maven Central, PyPI, or Docker Hub. You currently must do this manually, but you can record the results on ATR.
   </p>
   <p>
-    When the release is finished, press the <strong>Announce and distribute</strong> button.
+    When the release is finished, press the <strong>Announce and publish</strong> button.
   </p>
   <p>
     <img src="{{ static_url('png/tutorial-finish-01.png') }}"
          class="tutorial-image"
-         alt="Illustration: Use the Announce and distribute button." />
+         alt="Illustration: Use the Announce and publish button." />
   </p>
   <p>
     Submitting the announcement form sends a message to your selected mailing list. Complete the <strong>Download path suffix</strong> field to choose a specific location from which users can download your release artifacts.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org