From 296bb35317e81219db45cf1bb7ebac7ed86a21e7 Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Sun, 26 Sep 2021 17:50:15 +0200 Subject: [PATCH] Fix bash if statement in release workflow --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f0fdd559..c40a214b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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