Fix YAML syntax in publish_release workflow

Use printf -v for fallback release notes to keep all lines
properly indented within the YAML run block.
This commit is contained in:
Rad
2026-03-03 03:41:52 +01:00
parent fc190bf9d3
commit 7c7d06a159

View File

@@ -98,13 +98,12 @@ jobs:
if [ -f "$notes_file" ]; then if [ -f "$notes_file" ]; then
notes_content=$(cat "$notes_file") notes_content=$(cat "$notes_file")
else else
notes_content="Automated build for ${GITHUB_REPOSITORY}. printf -v notes_content '%s\n\n%s\n%s\n%s\n\n%s' \
"Automated build for ${GITHUB_REPOSITORY}." \
- Ref: ${GITHUB_REF_NAME} "- Ref: ${GITHUB_REF_NAME}" \
- Commit: ${GITHUB_SHA} "- Commit: ${GITHUB_SHA}" \
- Version: V${version} "- Version: V${version}" \
"macOS artifacts published from this fork are unsigned and not notarized."
macOS artifacts published from this fork are unsigned and not notarized."
fi fi
{ {