fix upload script

This commit is contained in:
Maidul Islam
2023-02-18 23:50:35 -05:00
parent f542e07c33
commit e5ba8eb281
+12 -6
View File
@@ -1,11 +1,17 @@
## Loop through each helm chart directoy and build each into helm package ## Loop through each helm chart directoy and build each into helm package
for d in */ ; do for d in */ ; do
cd "$d"
helm dependency update 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 done
## Upload each packaged helm chart # ## Upload each packaged helm chart
for i in *.tgz; do # for i in *.tgz; do
[ -f "$i" ] || break # [ -f "$i" ] || break
cloudsmith push helm --republish infisical/helm-charts $i # cloudsmith push helm --republish infisical/helm-charts $i
done # done