rancher-charts/scripts/pull-scripts

23 lines
468 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
cd $(dirname $0)
2021-02-08 21:36:36 +00:00
source ./version
echo "Pulling in charts-build-scripts version ${CHARTS_BUILD_SCRIPT_VERSION}"
rm -rf ../bin
cd ..
rm -rf charts-build-scripts
2021-01-22 16:58:20 +00:00
git clone --depth 1 --branch $CHARTS_BUILD_SCRIPT_VERSION https://github.com/rancher/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