From a08b8d3e9d86bd0524c679d58ec87722fb89d92c Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Wed, 14 Jun 2023 20:38:52 -0700 Subject: [PATCH] More echos --- .drone.yml | 8 ++++++++ charts/hello-world/sdf | 0 charts/new-content/a-file-here-1 | 0 3 files changed, 8 insertions(+) create mode 100644 charts/hello-world/sdf create mode 100644 charts/new-content/a-file-here-1 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