Loading
fix: simplify release config file parsing
Here-string syntax <<< is not compatible with ash/dash shells, for better portability: - get rid of the loop and here-string to keep variable in scope for update - use command substitution to record `yp` output - use more precise yq expression to extract plugin references Explanation of the new yq expression: - `.plugins[]`: select elements of the `plugins` sequence (scalar or sequence) - `select(kind == "scalar")`: return scalar values (plugin without config) - `//`: else, when not a scalar, assume this is a sequence - `.[0]`: the first element of the sequence should be the plugin reference