Skip to content

Commit

Permalink
Merge pull request kubernetes#1228 from hasheddan/fixpushbin
Browse files Browse the repository at this point in the history
Find files and directories when pushing binaries to GCS
  • Loading branch information
k8s-ci-robot authored Apr 2, 2020
2 parents 01df93c + e4b76cb commit 2614864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/releaselib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ release::gcs::locally_stage_release_artifacts() {

# Upload the "naked" binaries to GCS. This is useful for install scripts that
# download the binaries directly and don't need tars.
mapfile -t platforms < <(find "${release_stage}/client" -maxdepth 1 -mindepth 1 -type f -exec basename {} \;)
mapfile -t platforms < <(find "${release_stage}/client" -maxdepth 1 -mindepth 1 -exec basename {} \;)
for platform in "${platforms[@]}"; do
src="$release_stage/client/$platform/$release_kind/client/bin/*"
dst="bin/${platform/-//}/"
Expand Down

0 comments on commit 2614864

Please sign in to comment.