fix(ci): reshuffle when certain things are called and fix local syntaxis error

This commit is contained in:
kjeld Schouten-Lebbing
2022-04-01 11:03:57 +02:00
parent 9a3883de1c
commit d5c7e88a35
2 changed files with 26 additions and 28 deletions
+1 -3
View File
@@ -54,16 +54,14 @@ runs:
id: filter-bumped-charts
shell: bash
run: |
local repo_root
repo_root=$(git rev-parse --show-toplevel)
pushd "$repo_root" > /dev/null
echo 'Looking up latest tag...'
local latest_tag
latest_tag=$(lookup_latest_tag)
echo "Discovering changed charts since '$latest_tag'..."
local changed_charts=()
changed_charts=()
readarray -t changed_charts <<< "$(lookup_changed_charts "$latest_tag")"
if [ ${#changed_charts[@]} -eq 0 ]; then