fix: create boilerplate to current dir
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-01 18:42:14 +03:00
parent 0c268065b8
commit 1063874798

View File

@ -8,9 +8,8 @@ then
exit 1 exit 1
fi fi
mkdir "$1"
curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \ curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \
tar -xz -C "$1" --strip=2 common-chart-master/starter tar -xz --strip=2 common/starter
find "$1" -type f | xargs sed -i "" "s/<CHARTNAME>/$1/g" find . -type f -exec sed -i "s/<CHARTNAME>/$1/g" {} \;
helm dep build "$1" helm dep update