k3s/scripts/ci
Brad Davidson 50ea2d8164 Fix size check and make script shell consistent
Related to #2205

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-11-05 15:51:10 -08:00

18 lines
185 B
Bash
Executable File

#!/bin/bash
set -e
SCRIPT_DIR=$(dirname $0)
pushd $SCRIPT_DIR
./download
if [ -z "$SKIP_VALIDATE" ]; then
./validate
fi
./build
./package
popd
$SCRIPT_DIR/binary_size_check.sh