fix: cleanup flux crds
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-05-14 13:54:51 +02:00
parent c378ac662f
commit 7b8ba0ad3f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -75,6 +75,13 @@ flux_handler() {
for FILE in "${WORKDIR}"/*.json; do
FILENAME=$(basename "$FILE")
case "$FILENAME" in
all.json | _definitions.json)
continue
;;
esac
PREFIX="${FILENAME%%\-*}"
MIDDLE="${FILENAME#*-}"
SUFFIX="${MIDDLE#*-}"