nextcloud-versions-parser/patch.sh
Aaron Riedel 8c5e50a095
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
finalize the version parser and updater
2024-09-24 22:45:52 +02:00

6 lines
No EOL
218 B
Bash
Executable file

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