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
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This is a somewhat following issue #39 and PR #42.
The way excludeFileList works currently will somewhat fail on {''} as it is an alternative to '*' in .gitignore-like files. It excludes all files as love-release performs substring search (file:find) on a file name to exclude it and an empty string will be found in any string. Instead of erroring on empty file list, love-release fails on Mac and/or Windows with the following cryptic error message:
../env/bin/love-release -W
{
title = 'Title',
package = 'executable',
loveVersion = '11.1',
version = '0.0.1',
author = 'Author Name',
email = 'invalid@example.com',
description = nil,
homepage = 'URL',
identifier = 'executable',
excludeFileList = { ''} ,
compile = false,
projectDirectory = '/game/',
releaseDirectory = '/game/releases',
}
/usr/bin/lua5.1: ...e/env/share/lua/5.1/love-release/scripts/windows.lua:46: executable.love: No such file or directory
stack traceback:
[C]: in function 'assert'
...e/env/share/lua/5.1/love-release/scripts/windows.lua:46: in function 'release'
...e/env/share/lua/5.1/love-release/scripts/windows.lua:80: in function <...e/env/share/lua/5.1/love-release/scripts/windows.lua:75>
(tail call): ?
...a-love/env/share/lua/5.1/love-release/pipes/args.lua:117: in function 'args'
...ocks/rocks-5.1/love-release/2.0.9-1/bin/love-release:11: in main chunk
[C]: ?
This is a somewhat following issue #39 and PR #42.
The way
excludeFileListworks currently will somewhat fail on{''}as it is an alternative to '*' in.gitignore-like files. It excludes all files aslove-releaseperforms substring search (file:find) on a file name to exclude it and an empty string will be found in any string. Instead of erroring on empty file list,love-releasefails on Mac and/or Windows with the following cryptic error message: