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
# Decode the URL-encoded string from the Node.js script
188
+
CLEANED_CHANGELOG_BODY=$(echo -e "${RAW_CHANGELOG_BODY//%/\\x}" | sed 's/%0A/\n/g; s/%0D/\r/g')
189
+
190
+
# Combine all parts for the full release body
191
+
FULL_RELEASE_BODY="${INSTALL_INSTRUCTIONS}\n\n${CLEANED_CHANGELOG_BODY}\n\nSee full changelog for details: https://github.com/joshstevens19/rindexer/blob/master/documentation/docs/pages/docs/changelog.mdx"
192
+
193
+
echo "Attempting to edit release $TAG..."
194
+
gh release edit "$TAG" \
195
+
--prerelease=false \
196
+
--notes "$FULL_RELEASE_BODY" \
197
+
--target master # Assuming your release tags point to master/main
198
+
# --draft=false # Uncomment this if you accidentally created drafts and want to publish them
193
199
194
-
# Combine all parts for the full release body
195
-
# Assign this variable within the 'run:' block, correctly indented
196
-
FULL_RELEASE_BODY="${INSTALL_INSTRUCTIONS}\n\n${CLEANED_CHANGELOG_BODY}\n\nSee full changelog for details: https://github.com/joshstevens19/rindexer/blob/master/documentation/docs/pages/docs/changelog.mdx"
197
-
198
-
echo "Attempting to edit release $TAG..."
199
-
gh release edit "$TAG" \
200
-
--prerelease=false \
201
-
--notes "$FULL_RELEASE_BODY" \
202
-
--discussion-category "Announcements" \
203
-
--target master # Assuming your release tags point to master/main
204
-
# --draft=false # If you accidentally created drafts, uncomment this to make them public
0 commit comments