Update discord-changelog.yml

This commit is contained in:
Jørgen Ferdinand 2025-05-21 17:50:32 +02:00 committed by GitHub
parent 8f9d1ff26c
commit 14eb384b5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ jobs:
if (/^## /) exit;
print $0;
}
' Changelog.md)
' CHANGELOG.md)
# Escape for JSON
changelog_block=$(echo "$changelog_block" | sed 's/"/\\"/g' | sed ':a;N;$!ba;s/\n/\\n/g')