diff --git a/.github/scripts/create_release.sh b/.github/scripts/create_release.sh index 94696fd80..6b963fb7b 100755 --- a/.github/scripts/create_release.sh +++ b/.github/scripts/create_release.sh @@ -1,5 +1,14 @@ #!/bin/sh -eux +## == NEWS/FIXES.md processing description (release) +## NEWS: 1. first line is stripped; then all content is used until new line +## FIXES.md: if present, whole file is used +## both: +## a. if there is a line starting with space, it is appended to previous one (markdown) +## b. are replaced with '\n' (to create valid JSON) +## c. introductionary text ("Changes:" etc) is added to the string +## d. backlash in MD special escape sequences ('\_', \*') are escaped (again to gain valid JSON) + . $(dirname $0)/json-common.sh # Joins line that starts with space to previous: diff --git a/NEWS b/NEWS index b0f79e45f..ab1eee038 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,5 @@ next ==== - * added Reed-Solomon for audio * added support for RPI4 hw. acceleration * added holepunching support for where both hosts are behind NAT