Change delimiter

This commit is contained in:
Jack Jackson 2023-06-14 20:25:51 -07:00
parent 6311314ea7
commit 7e624e1a6b
2 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ steps:
image: alpine
commands:
- apk add perl git
- changed_charts=$(git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's/^([^\\\/]*?\\\/[^\\\/]*?)\\\/.*/$1/' | sort | uniq)
- 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
- changed_charts=$(git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:' | sort | uniq)
- echo $changed_charts
image_pull_secrets:

View File