Move generated crd charts from docs/ to assets/

pull/524/head
Arvind Iyengar 2020-08-05 10:23:04 -07:00
parent ced5a9cdae
commit b2eb4171f7
3 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ for f in packages/*; do
packageVersion=$(yq r ${f}/package.yaml packageVersion)
yq w -i ${f}/charts-crd/Chart.yaml 'version' "${version}${packageVersion}"
helm package ${f}/charts-crd --destination docs/$(basename -- ${f})
git checkout docs/$(basename -- ${f})/"$(basename -- ${f})-crd-$(yq r ${f}/charts/Chart.yaml version).tgz" || true
helm package ${f}/charts-crd --destination assets/$(basename -- ${f})
git checkout assets/$(basename -- ${f})/"$(basename -- ${f})-crd-$(yq r ${f}/charts-crd/Chart.yaml version).tgz" || true
fi
fi
done