summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-14 14:39:32 +0200
committerChristoph Berg <myon@debian.org>2026-10-14 14:39:32 +0200
commitcc627cc2a9a66014fa25c4c2c81c1b26833564e4 (patch)
tree47f39d2c2d0f7228a5c9dd91c1b7213471272d21 /.github/workflows
parent95a9df4014710930dc3011546ca0673e7531c1ce (diff)
parentc576a4281ef8c87990ae6399393a827dfaccacd5 (diff)
Update upstream source from tag 'upstream/3.3.0_beta2+dfsg'
Update to upstream version '3.3.0~beta2+dfsg' with Debian dir 2b24afa6aafe083cbcb475061c2678a067f4608b
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/public-release.yml22
1 files changed, 17 insertions, 5 deletions
diff --git a/.github/workflows/public-release.yml b/.github/workflows/public-release.yml
index f515a6fd..2792f7ee 100644
--- a/.github/workflows/public-release.yml
+++ b/.github/workflows/public-release.yml
@@ -455,11 +455,23 @@ jobs:
if [ "$CREATED" = true ]; then
QUICK_DOWNLOADS=$(python3 .github/scripts/generate-quick-downloads.py \
"$GITHUB_REPOSITORY" "$GITHUB_REF_NAME" "${FILES[@]}" || true)
- if [ -n "$QUICK_DOWNLOADS" ]; then
- GENERATED_NOTES=$(gh release view "$GITHUB_REF_NAME" --json body --jq .body)
- printf '%s\n\n---\n\n%s\n' "$QUICK_DOWNLOADS" "$GENERATED_NOTES" > "$RUNNER_TEMP/release-notes.md"
- gh release edit "$GITHUB_REF_NAME" --notes-file "$RUNNER_TEMP/release-notes.md"
+ CHANGES=$(python3 .github/scripts/generate-change-list.py \
+ "$GITHUB_REPOSITORY" "$GITHUB_REF_NAME" || true)
+ if [ -z "$CHANGES" ]; then
+ echo "::warning::No change list was generated; keeping GitHub's generated notes."
+ CHANGES=$(gh release view "$GITHUB_REF_NAME" --json body --jq .body || true)
+ fi
+ if [ -z "$CHANGES" ]; then
+ echo "::warning::The release notes could not be read; the release body was left unchanged."
else
- echo "::warning::Quick Downloads picker was empty; generated notes were left unchanged."
+ NOTES=$CHANGES
+ if [ -n "$QUICK_DOWNLOADS" ]; then
+ NOTES=$(printf '%s\n\n---\n\n%s' "$QUICK_DOWNLOADS" "$CHANGES")
+ else
+ echo "::warning::Quick Downloads picker was empty."
+ fi
+ printf '%s\n' "$NOTES" > "$RUNNER_TEMP/release-notes.md"
+ gh release edit "$GITHUB_REF_NAME" --notes-file "$RUNNER_TEMP/release-notes.md" \
+ || echo "::warning::The release notes could not be updated."
fi
fi