2021-03-05 21:31:02 +00:00
|
|
|
for chart in charts/*; do
|
|
|
|
if [ -d "${chart}" ]; then
|
|
|
|
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
|
|
|
|
chartname=$(basename ${chart})
|
|
|
|
echo "Processing: ${chart} - folder: ${maxfolderversion} - version: ${maxchartversion}"
|
2021-03-06 20:32:31 +00:00
|
|
|
|
|
|
|
rm -Rf ${chart}/${maxfolderversion}/charts/*.tgz
|
|
|
|
cp -f library/common-test/charts/* ${chart}/${maxfolderversion}/charts/
|
|
|
|
|
2021-03-05 21:31:02 +00:00
|
|
|
fi
|
|
|
|
done
|