diff --git a/helm-charts/upload-to-cloudsmith.sh b/helm-charts/upload-to-cloudsmith.sh index 61d969233..fb7208da0 100644 --- a/helm-charts/upload-to-cloudsmith.sh +++ b/helm-charts/upload-to-cloudsmith.sh @@ -1,11 +1,17 @@ ## Loop through each helm chart directoy and build each into helm package for d in */ ; do + cd "$d" helm dependency update - helm package $d + helm package $d + for i in *.tgz; do + [ -f "$i" ] || break + cloudsmith push helm --republish infisical/helm-charts $i + done + cd .. done -## Upload each packaged helm chart -for i in *.tgz; do - [ -f "$i" ] || break - cloudsmith push helm --republish infisical/helm-charts $i -done \ No newline at end of file +# ## Upload each packaged helm chart +# for i in *.tgz; do +# [ -f "$i" ] || break +# cloudsmith push helm --republish infisical/helm-charts $i +# done \ No newline at end of file