Commit 8cd38003 authored by Darren Shepherd's avatar Darren Shepherd

Scripts cleanup

parent 1502ad25
#!/bin/bash
cd $(dirname $0)/..
rm -rf dist bin build k3s hyperkube kubectl
......@@ -3,7 +3,7 @@ set -e
cd $(dirname $0)
if [ ! -e ../bin/k3s-server ]; then
if [ ! -e ../bin/containerd ]; then
./build
fi
......
......@@ -21,6 +21,7 @@ done
rm -rf build/data
mkdir -p build/data
mkdir -p dist
tar cvzf ./build/data.tar.gz --exclude ./bin/hyperkube ./bin
HASH=$(sha256sum ./build/data.tar.gz | awk '{print $1}')
......
......@@ -13,4 +13,4 @@ done
rm -rf kubernetes
mkdir -p kubernetes
cd kubernetes
ln -s $1/{cmd,pkg,plugin,third_party} .
ln -s $1/{cmd,pkg,plugin,third_party,openapi.json,openapi.pb} .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment