nextcloud-versions-parser/patch.sh

6 lines
218 B
Bash
Raw Normal View History

#!/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