[llvm] 600e38b - [llvm][Release] Add note about binaries to Github release description (#69698)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 07:50:09 PDT 2023
Author: David Spickett
Date: 2023-10-23T15:50:04+01:00
New Revision: 600e38b11ae79b0c0cd10416b2a7a78f654cf5b2
URL: https://github.com/llvm/llvm-project/commit/600e38b11ae79b0c0cd10416b2a7a78f654cf5b2
DIFF: https://github.com/llvm/llvm-project/commit/600e38b11ae79b0c0cd10416b2a7a78f654cf5b2.diff
LOG: [llvm][Release] Add note about binaries to Github release description (#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.
Added:
Modified:
llvm/utils/release/github-upload-release.py
Removed:
################################################################################
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