diff --git a/.drone.yml b/.drone.yml index 7f0e68a..3233d51 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,14 @@ steps: - git show --name-only --pretty="format:" | grep '^charts' - git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:' - git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:' | sort | uniq + - var1=$(git show --name-only --pretty="format:") + - echo "$var1" + - var2=$(git show --name-only --pretty="format:" | grep '^charts') + - echo "$var2" + - var3=$(git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:') + - echo "$var3" + - var4=$(git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:' | sort) + - echo "$var4" - changed_charts=$(git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:' | sort | uniq) - echo "$changed_charts" - echo "This is after" diff --git a/charts/hello-world/sdf b/charts/hello-world/sdf new file mode 100644 index 0000000..e69de29 diff --git a/charts/new-content/a-file-here-1 b/charts/new-content/a-file-here-1 new file mode 100644 index 0000000..e69de29