Skip to content

Commit 8afd2be

Browse files
committed
fix: YAML multiline string syntax in release workflow
1 parent b0a2b87 commit 8afd2be

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/release-on-tag.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ jobs:
6868
p {print}
6969
' CHANGELOG.md)
7070
if [ -z "$notes" ]; then
71-
notes="## [$VERSION]
72-
73-
Release notes not found."
71+
notes=$(printf "## [%s]\n\nRelease notes not found." "$VERSION")
7472
fi
7573
else
7674
notes="Release notes not found in CHANGELOG.md."

0 commit comments

Comments
 (0)