From 3e48cb0cb9870964d2967a9342c198a6ac5e3698 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Sat, 26 Sep 2026 17:56:51 -0700 Subject: [PATCH] discourse-release: title topics by repo and tag, not release name Release names differ between projects (some repeat the tag, some carry the product name in capitals); ' released' reads the same for all. --- discourse-release/announce.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/discourse-release/announce.sh b/discourse-release/announce.sh index c102bfc..be31168 100755 --- a/discourse-release/announce.sh +++ b/discourse-release/announce.sh @@ -22,9 +22,10 @@ payload=$(jq -n --arg repo "$REPO" --argjson category "$category_id" --arg ext " --slurpfile ev "$EVENT_PATH" ' ($ev[0].release) as $r | ($repo | split("/") | last) as $name - | ($r.name // "" | if . == "" then $r.tag_name else . end) as $title | { - title: "\($name) \($title) released", + # repo + tag, not the release name: names vary by project (some repeat + # the tag, some carry a product name in capitals), tags do not. + title: "\($name) \($r.tag_name) released", category: $category, external_id: $ext, raw: (