mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
shellcheck linting
This commit is contained in:
parent
85b73933b4
commit
cd9f5b725a
@ -40,7 +40,7 @@ main() {
|
|||||||
echo "Identifying changed charts since tag '$latest_tag'..."
|
echo "Identifying changed charts since tag '$latest_tag'..."
|
||||||
|
|
||||||
local changed_charts=()
|
local changed_charts=()
|
||||||
readarray -t changed_charts <<< "$(find $(git diff --find-renames --name-only $latest_tag_rev -- .) -type f -iname 'Chart.yaml' | cut -d '/' -f 1 | uniq)"
|
readarray -t changed_charts <<< "$(find "$(git diff --find-renames --name-only "$latest_tag_rev" -- .)" -type f -iname 'Chart.yaml' | cut -d '/' -f 1 | uniq)"
|
||||||
|
|
||||||
if [[ -n "${changed_charts[*]}" ]]; then
|
if [[ -n "${changed_charts[*]}" ]]; then
|
||||||
for chart in "${changed_charts[@]}"; do
|
for chart in "${changed_charts[@]}"; do
|
||||||
|
Loading…
Reference in New Issue
Block a user