Merge "Shorten version strings"
This commit is contained in:
commit
e30f9eebe9
@ -18,7 +18,7 @@
|
||||
cmd: |
|
||||
sha=$(sha256sum <<< "{{ chart | to_json }}" | cut -f1 -d' ')
|
||||
version=$(helm show chart /tmp/{{ chart['name'] | quote }}/{{ chart['path'] | quote }} | yq -r .version)
|
||||
printf "%s+source.%s" "$version" "$sha"
|
||||
printf "%s+source.%s" "$version" "$sha" | cut -c 1-63
|
||||
register: chart_version
|
||||
|
||||
- name: package charts into /charts directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user