Further fix to #151

This commit is contained in:
3wc 2021-04-30 22:55:29 +02:00
parent 0e28af9eb1
commit ffc569e275

3
abra
View File

@ -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