File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,13 @@ function kube::release::package_src_tarball() {
125
125
# Package up all of the cross compiled clients. Over time this should grow into
126
126
# a full SDK
127
127
function kube::release::package_client_tarballs() {
128
- # Find all of the built client binaries
129
- for platform_long in " ${LOCAL_OUTPUT_BINPATH} " /* /* ; do
128
+ # Find all of the built client binaries
129
+ local long_platforms=(" ${LOCAL_OUTPUT_BINPATH} " /* /* )
130
+ if [[ -n ${KUBE_BUILD_PLATFORMS-} ]]; then
131
+ read -ra long_platforms <<< " ${KUBE_BUILD_PLATFORMS}"
132
+ fi
133
+
134
+ for platform_long in " ${long_platforms[@]} " ; do
130
135
local platform
131
136
local platform_tag
132
137
platform=${platform_long## ${LOCAL_OUTPUT_BINPATH} / } # Strip LOCAL_OUTPUT_BINPATH
You can’t perform that action at this time.
0 commit comments