fix(build): stop capturing pack_love stdout into LOVE_FILE

Status lines from pack_love polluted the path and broke version stamping, which would fail the desktop release step.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Andrew Quenehen
2026-08-01 20:24:30 -03:00
parent ba8aa7b263
commit 41f549b271
+2 -1
View File
@@ -64,7 +64,8 @@ mkdir -p "$CACHE" "$WORK" "$DIST/mac" "$DIST/win" "$DIST/linux"
# love.filesystem's require path, so it has to live inside the archive.
LOVE_FILE="$WORK/game.love"
LOVE_LIST="$WORK/love-listing.txt"
LOVE_FILE="$("$ROOT/scripts/pack_love.sh" --output "$LOVE_FILE" --listing "$LOVE_LIST")"
# pack_love prints status on stdout; discard it and keep the known path.
"$ROOT/scripts/pack_love.sh" --output "$LOVE_FILE" --listing "$LOVE_LIST" >/dev/null
# ------------------------------------------------------- stamp release version
# The working tree ships Version.lua with engine "0.0.0-dev"; the real release