mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Update after review
Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
parent
468611d6e0
commit
1b8107d60b
@ -126,10 +126,11 @@ function kube::release::package_src_tarball() {
|
|||||||
# a full SDK
|
# a full SDK
|
||||||
function kube::release::package_client_tarballs() {
|
function kube::release::package_client_tarballs() {
|
||||||
# Find all of the built client binaries
|
# Find all of the built client binaries
|
||||||
for platform in "${LOCAL_OUTPUT_BINPATH}"/*/*; do
|
for platform_long in "${LOCAL_OUTPUT_BINPATH}"/*/*; do
|
||||||
|
local platform
|
||||||
local platform_tag
|
local platform_tag
|
||||||
platform_tag=${platform##${LOCAL_OUTPUT_BINPATH}/} # Strip LOCAL_OUTPUT_BINPATH
|
platform=${platform_long##${LOCAL_OUTPUT_BINPATH}/} # Strip LOCAL_OUTPUT_BINPATH
|
||||||
platform_tag=${platform_tag/\//-} # Replace a "/" for a "-"
|
platform_tag=${platform/\//-} # Replace a "/" for a "-"
|
||||||
kube::log::status "Starting tarball: client $platform_tag"
|
kube::log::status "Starting tarball: client $platform_tag"
|
||||||
|
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user