diff --git a/.github/workflows/marketplace-publish.yml b/.github/workflows/marketplace-publish.yml index aef91b2d32..5ab1ddb6e5 100644 --- a/.github/workflows/marketplace-publish.yml +++ b/.github/workflows/marketplace-publish.yml @@ -81,6 +81,11 @@ jobs: changelog_content="Release v${current_package_version}" else echo "Found changelog section for version ${current_package_version}" + # Convert relative image paths to full GitHub URLs for proper display in release notes + # Use the main branch URL since the images will be merged there before release + # Match common image file extensions: png, jpg, jpeg, gif, webp, svg + # Using extended regex (-E) for better portability + changelog_content=$(echo "$changelog_content" | sed -E "s/\(releases\/([^)]*\.(png|jpg|jpeg|gif|webp|svg))\)/(https:\/\/github.com\/${{ github.repository }}\/raw\/main\/releases\/\1)/g") fi # Create release with changelog content diff --git a/.roo/commands/release.md b/.roo/commands/release.md index 99c6d3a9f9..50302c6789 100644 --- a/.roo/commands/release.md +++ b/.roo/commands/release.md @@ -41,4 +41,5 @@ argument-hint: patch | minor | major 11. The GitHub Actions workflow will automatically: - Create a version bump PR when changesets are merged to main - Update the CHANGELOG.md with proper formatting + - Convert PNG image paths in release notes to GitHub raw URLs for proper display - Publish the release when the version bump PR is merged