File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,10 @@ jobs:
149149
150150 # Add @since updates section if there are any
151151 if [[ "${{ steps.update_since_tags.outputs.has_updates }}" == "true" ]]; then
152+ # Store the summary in a variable with proper quoting
153+ SINCE_SUMMARY='${{ steps.update_since_tags.outputs.summary }}'
152154 RELEASE_NOTES="${RELEASE_NOTES}"$'\n\n'
153- RELEASE_NOTES="${RELEASE_NOTES}${{ steps.update_since_tags.outputs.summary } }"
155+ RELEASE_NOTES="${RELEASE_NOTES}${SINCE_SUMMARY }"
154156 fi
155157
156158 # If no content was added, provide default message
@@ -170,11 +172,11 @@ jobs:
170172 fi
171173
172174 # Save the release notes to a file
173- echo "$RELEASE_NOTES" > $GITHUB_WORKSPACE/release_notes.md
175+ echo "$RELEASE_NOTES" > " $GITHUB_WORKSPACE/release_notes.md"
174176
175177 # For debugging
176178 echo "Generated release notes:"
177- cat $GITHUB_WORKSPACE/release_notes.md
179+ cat " $GITHUB_WORKSPACE/release_notes.md"
178180
179181 # Set the content for GitHub Actions output using jq to properly escape the content
180182 echo "content=$(echo "$RELEASE_NOTES" | jq -Rsa .)" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments