From ffc569e275df7ca784a4db1a3331e17975fd8c87 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Fri, 30 Apr 2021 22:55:29 +0200 Subject: [PATCH] Further fix to #151 --- abra | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/abra b/abra index 0d32f7b..291f478 100755 --- a/abra +++ b/abra @@ -2019,8 +2019,7 @@ sub_recipe_release() { for compose_file in "${compose_files[@]}"; do mapfile -t services < <($YQ e -N '.services | keys | .[]' "$compose_file" | sort -u) - - if ! printf '%s\0' "${services[@]}" | grep -Fqxz -- "app"; then + if [ "$compose_file" = "compose.yml" ] && ! printf '%s\0' "${services[@]}" | grep -Fqxz -- "app"; then # shellcheck disable=SC2016 warning 'No `app` service found; which one should we use for the version number?' select service_item in "${services[@]##*/}"; do