Skip to content

Commit

Permalink
[llvm][Release] Add note about binaries to Github release description (
Browse files Browse the repository at this point in the history
…#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.
  • Loading branch information
DavidSpickett committed Oct 23, 2023
1 parent 178270b commit 600e38b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions llvm/utils/release/github-upload-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand Down

0 comments on commit 600e38b

Please sign in to comment.