Skip to content

Commit ce095d7

Browse files
committed
Fix rsvg-convert command syntax in cover creation script
- Add missing -o flag for output file - Fixes GitHub Actions build failure during SVG to PNG conversion
1 parent 140e229 commit ce095d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create-cover.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ EOF
7171
# Convert SVG to PNG using available tools
7272
if command -v rsvg-convert &> /dev/null; then
7373
echo "Converting SVG to PNG with rsvg-convert..."
74-
rsvg-convert -w 1200 -h 1600 "$COVER_SVG" "$COVER_PNG"
74+
rsvg-convert -w 1200 -h 1600 -o "$COVER_PNG" "$COVER_SVG"
7575
elif command -v convert &> /dev/null; then
7676
echo "Converting SVG to PNG with ImageMagick..."
7777
convert -background none -size 1200x1600 "$COVER_SVG" "$COVER_PNG"

0 commit comments

Comments
 (0)