mirror of https://git.rancher.io/charts
Move generated crd charts from docs/ to assets/
parent
ced5a9cdae
commit
b2eb4171f7
Binary file not shown.
Binary file not shown.
|
@ -20,8 +20,8 @@ for f in packages/*; do
|
||||||
packageVersion=$(yq r ${f}/package.yaml packageVersion)
|
packageVersion=$(yq r ${f}/package.yaml packageVersion)
|
||||||
yq w -i ${f}/charts-crd/Chart.yaml 'version' "${version}${packageVersion}"
|
yq w -i ${f}/charts-crd/Chart.yaml 'version' "${version}${packageVersion}"
|
||||||
|
|
||||||
helm package ${f}/charts-crd --destination docs/$(basename -- ${f})
|
helm package ${f}/charts-crd --destination assets/$(basename -- ${f})
|
||||||
git checkout docs/$(basename -- ${f})/"$(basename -- ${f})-crd-$(yq r ${f}/charts/Chart.yaml version).tgz" || true
|
git checkout assets/$(basename -- ${f})/"$(basename -- ${f})-crd-$(yq r ${f}/charts-crd/Chart.yaml version).tgz" || true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue