Skip to content

Commit ec0db7c

Browse files
committed
Update helm dependency before building (#373)
To ensure requirements.lock is in sync with requirements.yaml helm/helm#2033
1 parent bc4b974 commit ec0db7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.prow/scripts/sync-helm-charts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
exit_code=0
3232

3333
for dir in "$repo_dir"/*; do
34-
if helm dependency build "$dir"; then
34+
if helm dep update "$dir" && helm dep build "$dir"; then
3535
helm package --destination "$sync_dir" "$dir"
3636
else
3737
log_error "Problem building dependencies. Skipping packaging of '$dir'."

0 commit comments

Comments
 (0)