summaryrefslogtreecommitdiff
path: root/.github/scripts/generate-quick-downloads.py
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-14 14:39:20 +0200
committerChristoph Berg <myon@debian.org>2026-10-14 14:39:20 +0200
commitc576a4281ef8c87990ae6399393a827dfaccacd5 (patch)
tree0f28b7d1fc2ba73ccea5d7513281b0f8cae76fb6 /.github/scripts/generate-quick-downloads.py
parentffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff)
New upstream version 3.3.0~beta2+dfsgupstream/3.3.0_beta2+dfsgupstream
Diffstat (limited to '.github/scripts/generate-quick-downloads.py')
-rwxr-xr-x.github/scripts/generate-quick-downloads.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/scripts/generate-quick-downloads.py b/.github/scripts/generate-quick-downloads.py
index 0ba21c36..7a07c6f1 100755
--- a/.github/scripts/generate-quick-downloads.py
+++ b/.github/scripts/generate-quick-downloads.py
@@ -4,8 +4,7 @@
The release workflow attaches every build artifact to the Release, which makes
the assets list long and hard for an end user to navigate (installers sit among
the command-line program tarballs, checksums, the manifest, and source). This emits a
-short, curated per-platform installer picker to prepend to the auto-generated
-release notes.
+short, curated per-platform installer picker to put above the change list.
It is *asset-driven*: platforms and architectures are derived from the asset
filenames passed in, not hard-coded. New build variants (for example an added
@@ -13,7 +12,7 @@ Linux architecture such as armhf) therefore appear in Quick Downloads
automatically, with no edit to this script.
The block is emitted on stdout, ending at the last platform line (no trailing
-separator); the caller joins it to the auto-generated notes.
+separator); the caller joins it to the change list.
Usage:
generate-quick-downloads.py <owner/repo> <tag> <asset-path-or-name>...
@@ -108,8 +107,8 @@ def main(argv):
if source:
out += ["", "### Source", f"- [{source}]({url(source)})"]
- # If nothing matched (no installer-grade assets), emit nothing so the
- # caller leaves the auto-generated notes untouched.
+ # If nothing matched (no installer-grade assets), emit nothing; the caller
+ # then publishes the change list alone.
if len(out) == 4:
return 0