From cab9828b3de5fb30ea3d8795e913c3a6e5bb86d4 Mon Sep 17 00:00:00 2001 From: Ralph Little Date: Sun, 11 May 2025 19:50:59 -0700 Subject: [PATCH] release: Added ^L ctrl character to denote end of this release's notes. It seems that the release scripts use the presence of the ^L character to determine the boundaries of the notes for each version. This point has been forgotten in time. I add it back here, but also have modified the sed script to properly chop up the NEWS file. --- NEWS | 1 + tools/create-release.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index e362f4682..3e9d475a2 100644 --- a/NEWS +++ b/NEWS @@ -73,6 +73,7 @@ - Added translations for newly support language Turkish. + ## New with 1.3.1 (released 2024-05-22) ### Backends diff --git a/tools/create-release.sh b/tools/create-release.sh index 7b0ed2d29..ddb44cf58 100755 --- a/tools/create-release.sh +++ b/tools/create-release.sh @@ -25,7 +25,7 @@ cat << EOF > release.json { "name": "SANE Backends $CI_COMMIT_TAG", "tag_name": "$CI_COMMIT_TAG", - "description": "$(sed '1,3d; / /{s/.*//; q}' NEWS \ + "description": "$(sed '1,3d; / /,$d}' NEWS \ | git stripspace \ | sed 's/"/\\"/g; s/$/\\n/g' \ | tr -d '\n')",