Install git
This commit is contained in:
parent
c8442eeea4
commit
be460e8167
@ -8,8 +8,9 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: step1
|
- name: step1
|
||||||
image: busybox
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
|
- apk add git
|
||||||
- changed_charts=$(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
|
- echo $changed_charts
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user