#!/bin/bash set -e cd $(dirname $0) CHARTS_BUILD_SCRIPT_VERSION=v0.0.2 echo "Pulling in charts-build-scripts version ${CHARTS_BUILD_SCRIPT_VERSION}" rm -rf ../bin cd .. rm -rf charts-build-scripts git clone --depth 1 --branch $CHARTS_BUILD_SCRIPT_VERSION https://github.com/aiyengar2/charts-build-scripts.git 2>/dev/null cd charts-build-scripts ./scripts/build mv bin ../bin cd .. rm -rf charts-build-scripts chmod +x ./bin/charts-build-scripts ./bin/charts-build-scripts --version