mirror of
https://github.com/k3s-io/k3s.git
synced 2026-04-29 10:11:58 -04:00
Updating the script binary_size_check to complete the command name by adding .exe extension to the k3s binary name to make it available to run stat command
Signed-off-by: Anuj Garg <anujgarg@microsoft.com>
This commit is contained in:
parent
6683fcdb65
commit
eb192197eb
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
. ./scripts/version.sh
|
||||
|
||||
GO=${GO-go}
|
||||
ARCH=${ARCH:-$("${GO}" env GOARCH)}
|
||||
|
||||
|
|
@ -22,7 +24,7 @@ elif [ ${ARCH} = s390x ]; then
|
|||
BIN_SUFFIX="-s390x"
|
||||
fi
|
||||
|
||||
CMD_NAME="dist/artifacts/k3s${BIN_SUFFIX}"
|
||||
CMD_NAME="dist/artifacts/k3s${BIN_SUFFIX}${BINARY_POSTFIX}"
|
||||
SIZE=$(stat -c '%s' ${CMD_NAME})
|
||||
|
||||
if [ -n "${DEBUG}" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue