mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Update .github/release-notes.sh
Co-authored-by: gustavderdrache <gustavderdrache@gmail.com>
This commit is contained in:
parent
5a87809b25
commit
e2cce0e026
1 changed files with 3 additions and 3 deletions
6
.github/release-notes.sh
vendored
6
.github/release-notes.sh
vendored
|
@ -22,9 +22,9 @@ gh api "/repos/${GITHUB_REPOSITORY}/releases/generate-notes" \
|
|||
-f "tag_name=${TAG_NAME}" > "$scratch/notes.json"
|
||||
|
||||
trim_trailing_newlines() {
|
||||
tac \
|
||||
| awk 'flag {print} {if(NF) flag=1}' \
|
||||
| tac
|
||||
local text
|
||||
text="$(cat)"
|
||||
echo -n "${text//$'\n'}"
|
||||
}
|
||||
|
||||
linkify_gh() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue