You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
# Read the changelog content from markdown file and preserve newlines
161
+
CHANGELOG_CONTENT=$(cat changelog_content.md)
165
162
166
-
# Create the JSON payload separately
163
+
# Create the JSON payload for the PR body update
164
+
# Use jq's @json to properly escape the content
167
165
PAYLOAD=$(jq -n \
168
-
--arg body "## Upcoming Changes\n\n$(echo $ESCAPED_CHANGELOG | jq -r .)\n\nThis PR contains all changes that will be included in the next release. It is automatically updated when new changesets are added to the develop branch." \
169
-
'{body: $body}')
166
+
--arg title "$PR_TITLE" \
167
+
--arg body "## Upcoming Changes
168
+
169
+
$CHANGELOG_CONTENT
170
+
171
+
This PR contains all changes that will be included in the next release. It is automatically updated when new changesets are added to the develop branch." \
# Read the changelog content from markdown file and preserve newlines
196
+
CHANGELOG_CONTENT=$(cat changelog_content.md)
197
197
198
-
# Create the JSON payload separately
198
+
# Create the JSON payload for the PR creation
199
+
# Use jq's @json to properly escape the content
199
200
PAYLOAD=$(jq -n \
200
201
--arg title "release: next version 📦" \
201
202
--arg head "develop" \
202
203
--arg base "main" \
203
-
--arg body "## Upcoming Changes\n\n$(echo $ESCAPED_CHANGELOG | jq -r .)\n\nThis PR contains all changes that will be included in the next release. It is automatically updated when new changesets are added to the develop branch." \
204
+
--arg body "## Upcoming Changes
205
+
206
+
$CHANGELOG_CONTENT
207
+
208
+
This PR contains all changes that will be included in the next release. It is automatically updated when new changesets are added to the develop branch." \
0 commit comments