Skip to content

Commit 1b8107d

Browse files
committed
Update after review
Signed-off-by: Joakim Roubert <[email protected]>
1 parent 468611d commit 1b8107d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/lib/release.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,11 @@ function kube::release::package_src_tarball() {
126126
# a full SDK
127127
function kube::release::package_client_tarballs() {
128128
# Find all of the built client binaries
129-
for platform in "${LOCAL_OUTPUT_BINPATH}"/*/*; do
129+
for platform_long in "${LOCAL_OUTPUT_BINPATH}"/*/*; do
130+
local platform
130131
local platform_tag
131-
platform_tag=${platform##${LOCAL_OUTPUT_BINPATH}/} # Strip LOCAL_OUTPUT_BINPATH
132-
platform_tag=${platform_tag/\//-} # Replace a "/" for a "-"
132+
platform=${platform_long##${LOCAL_OUTPUT_BINPATH}/} # Strip LOCAL_OUTPUT_BINPATH
133+
platform_tag=${platform/\//-} # Replace a "/" for a "-"
133134
kube::log::status "Starting tarball: client $platform_tag"
134135

135136
(

0 commit comments

Comments
 (0)