# check if this version already exists (i.e. it can be downloaded) - if so, fail, otherwise continue
-helm chart save chart "cr.gitlab-int.switch.ch/maps/shibboleth-sp-helm-chart"
-helm chart pull "cr.gitlab-int.switch.ch/maps/shibboleth-sp-helm-chart/chart/shibboleth-sp:${CHART_VERSION}" > /dev/null && ( echo "FATAL - the version in Chart.yaml already exist in the repository" >&2; exit 1 )