Fix bash if statement in release workflow

This commit is contained in:
Eric Fennis
2021-09-26 17:50:15 +02:00
parent 23259c9e3f
commit 296bb35317

View File

@@ -288,12 +288,12 @@ jobs:
command=''
for name in "${list[@]}"
do
subcommand="(fontcustom compile "./converted_icons${name}" -h -n "lucide${name}" -o ./tmp -F && mv ./tmp/* build)"
if [ -z "$command" ]
subcommand="(fontcustom compile "./converted_icons${name}" -h -n "lucide${name}" -o ./tmp -F && mv ./tmp/* build)"
then
command="$subcommand";
else
command="$command & $subcommand";
then
command="$subcommand";
else
command="$command & $subcommand";
fi
done