This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new f3ec030 Add navigation to the page to register a staging distribution
f3ec030 is described below
commit f3ec03064b2528de8b67f8581e8aa18c2bb392db
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Aug 8 17:16:57 2025 +0100
Add navigation to the page to register a staging distribution
---
atr/routes/distribution.py | 2 +-
atr/templates/check-selected.html | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/atr/routes/distribution.py b/atr/routes/distribution.py
index 5560f17..621dbce 100644
--- a/atr/routes/distribution.py
+++ b/atr/routes/distribution.py
@@ -401,7 +401,7 @@ def _distribution_web_url( # noqa: C901
if repo_name and pkg_name:
if ver:
return
f"https://artifacthub.io/packages/helm/{repo_name}/{pkg_name}/{ver}"
- return
f"https://artifacthub.io/packages/helm/{repo_name}/{pkg_name}"
+ return
f"https://artifacthub.io/packages/helm/{repo_name}/{pkg_name}/{version}"
if ah.home_url:
return ah.home_url
for link in ah.links:
diff --git a/atr/templates/check-selected.html
b/atr/templates/check-selected.html
index da65133..2b90eb9 100644
--- a/atr/templates/check-selected.html
+++ b/atr/templates/check-selected.html
@@ -106,6 +106,10 @@
</div>
</div>
{% if phase == "release_candidate_draft" %}
+ <p>
+ <a class="btn btn-primary"
+ href="{{ as_url(routes.distribution.stage,
project=release.project.name, version=release.version) }}">Record a
distribution</a>
+ </p>
<h2>Ignored checks</h2>
{% if info.ignored_errors or info.ignored_warnings %}
{% set ignored_errors_count = info.ignored_errors|length %}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]