[llvm] [llvm][Release] Add note about binaries to Github release description (PR #69698)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 02:23:53 PDT 2023


https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/69698

This appears on the announcements e.g. https://discourse.llvm.org/t/llvm-17-0-3-released/74172 and it is important context.

However a lot of folks see release pages e.g. https://github.com/llvm/llvm-project/releases/tag/llvmorg-17.0.3 first so it's good to include it there too.

>From b20ff82a92406640f0a4651e9236088d092a5fa6 Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Fri, 20 Oct 2023 09:18:52 +0000
Subject: [PATCH] [llvm][Release] Add note about binaries to Github release
 description

This appears on the announcements e.g. https://discourse.llvm.org/t/llvm-17-0-3-released/74172
and it is important context.

However a lot of folks see release pages e.g. https://github.com/llvm/llvm-project/releases/tag/llvmorg-17.0.3
first so it's good to include it there too.
---
 llvm/utils/release/github-upload-release.py | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/llvm/utils/release/github-upload-release.py b/llvm/utils/release/github-upload-release.py
index 86a71368dd84322..f1ad78120a0aa64 100755
--- a/llvm/utils/release/github-upload-release.py
+++ b/llvm/utils/release/github-upload-release.py
@@ -30,7 +30,7 @@
 
 import argparse
 import github
-
+from textwrap import dedent
 
 def create_release(repo, release, tag=None, name=None, message=None):
     if not tag:
@@ -40,7 +40,18 @@ def create_release(repo, release, tag=None, name=None, message=None):
         name = "LLVM {}".format(release)
 
     if not message:
-        message = "LLVM {} Release".format(release)
+        message = dedent(
+            """\
+            LLVM {} Release
+
+            # A note on binaries
+
+            Volunteers make binaries for the LLVM project, which will be uploaded
+            when they have had time to test and build these binaries. They might
+            not be available directly or not at all for each release. We suggest
+            you use the binaries from your distribution or build your own if you
+            rely on a specific platform or configuration."""
+        ).format(release)
 
     prerelease = True if "rc" in release else False
 



More information about the llvm-commits mailing list