#!/usr/bin/env bash V_ARRAY=() while read VERSION; do V_ARRAY+=(${VERSION}) done <<< $(cat versions.txt) yq -iY ".matrix.NEXTCLOUD_VERSION = [$(echo "${V_ARRAY[*]}" | sed "s/ /,/g")]" nextcloud-fpm/.woodpecker.yaml