[llvm] [llvm][release] Reveal download links based on uploaded assets (PR #167688)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 06:09:31 PST 2025


================
@@ -34,6 +34,103 @@
 from textwrap import dedent
 
 
+# This is a tuple of sections of download links. Each section then contains
+# an entry for each line in that section. Each line entry contains:
+# * A unique tag to go in "<!-- <tag>" so we can find it later in the release
+#   message.
+# * A format string for the line's content.
+# * Filenames to substitute into the format string. Before substitution into
+#   the format string, file names will have the base download URL prepended to
+#   them and 'release' replaced with the release version.
+#
+# Between each set of links, an empty line will be added.
+#
+# This data is used to generate the links for the release message, and by
+# uncomment_download_links to verify whether for any given link line, all files
+# linked to are present in the release's assets.
+release_links = (
+    (
+        (
+            "LINUX_X86",
+            "* [Linux x86_64]({0}) ([signature]({1}))",
+            "LLVM-{release}-Linux-X64.tar.xz",
+            "LLVM-{release}-Linux-X64.tar.xz.jsonl",
----------------
DavidSpickett wrote:

Done.

https://github.com/llvm/llvm-project/pull/167688


More information about the llvm-commits mailing list