Further fix to #151
continuous-integration/drone/push Build is failing Details

This commit is contained in:
3wc 2021-04-30 22:55:29 +02:00
parent 0e28af9eb1
commit ffc569e275
1 changed files with 1 additions and 2 deletions

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