Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/marketplace-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .roo/commands/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading