File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ copy_go_binaries() {
3838
3939 while IFS= read -r line ; do
4040 # Parses out the "Outputs" and copies them to the output dir.
41- local binary_output_path=$( echo " $line " | sed -n ' s/Outputs: \[\(.*\)\]/\1/p' )
41+ local binary_output_path=$( echo " $line " | sed -n ' s/^.* Outputs: \[\(.*\)\]/\1/p' )
4242 if [[ ! -z " $binary_output_path " ]]; then
4343 # Ignores errors from "cp" since aquery will include some binaries besides
4444 # the expected tools. This script later validates that all required binaries
@@ -93,7 +93,9 @@ upload_file() {
9393}
9494
9595for binary_name in " ${all_binary_names[@]} " ; do
96- upload_file " $BIN_DIR /$binary_name " " $binary_name "
96+ # Output should contain dashes instead of underscores.
97+ output_name=${binary_name// _/ -}
98+ upload_file " $BIN_DIR /$binary_name " " $output_name "
9799done
98100
99101rm -rf $BIN_DIR
You can’t perform that action at this time.
0 commit comments