Skip to content

Commit e2beb9b

Browse files
committed
Include arch on the build name
1 parent d8d4f82 commit e2beb9b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

scripts/util/create-kubernetes-binaries-iso.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ if [ $# -lt 6 ]; then
2424
exit 1
2525
fi
2626

27-
RELEASE="v${2}"
28-
VAL="1.18.0"
29-
output_dir="${1}"
30-
start_dir="$PWD"
31-
iso_dir="/tmp/iso"
32-
working_dir="${iso_dir}/"
33-
mkdir -p "${working_dir}"
34-
build_name="${7}.iso"
35-
[ -z "${build_name}" ] && build_name="setup-${RELEASE}.iso"
36-
3727
ARCH="amd64"
3828
if [ -n "${8}" ]; then
3929
ARCH="${8}"
@@ -43,6 +33,16 @@ if [ -n "${8}" ]; then
4333
fi
4434
fi
4535

36+
RELEASE="v${2}"
37+
VAL="1.18.0"
38+
output_dir="${1}"
39+
start_dir="$PWD"
40+
iso_dir="/tmp/iso"
41+
working_dir="${iso_dir}/"
42+
mkdir -p "${working_dir}"
43+
build_name="${7}-${ARCH}.iso"
44+
[ -z "${build_name}" ] && build_name="setup-${RELEASE}-${ARCH}.iso"
45+
4646
CNI_VERSION="v${3}"
4747
echo "Downloading CNI ${CNI_VERSION}..."
4848
cni_dir="${working_dir}/cni/"

0 commit comments

Comments
 (0)