Further fix to #151
This commit is contained in:
parent
0e28af9eb1
commit
ffc569e275
3
abra
3
abra
@ -2019,8 +2019,7 @@ sub_recipe_release() {
|
|||||||
|
|
||||||
for compose_file in "${compose_files[@]}"; do
|
for compose_file in "${compose_files[@]}"; do
|
||||||
mapfile -t services < <($YQ e -N '.services | keys | .[]' "$compose_file" | sort -u)
|
mapfile -t services < <($YQ e -N '.services | keys | .[]' "$compose_file" | sort -u)
|
||||||
|
if [ "$compose_file" = "compose.yml" ] && ! printf '%s\0' "${services[@]}" | grep -Fqxz -- "app"; then
|
||||||
if ! printf '%s\0' "${services[@]}" | grep -Fqxz -- "app"; then
|
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
warning 'No `app` service found; which one should we use for the version number?'
|
warning 'No `app` service found; which one should we use for the version number?'
|
||||||
select service_item in "${services[@]##*/}"; do
|
select service_item in "${services[@]##*/}"; do
|
||||||
|
Reference in New Issue
Block a user