From 7338a3ea786e85e37fd2a925c5e3598b7e38755b Mon Sep 17 00:00:00 2001 From: Jay Conrod Date: Tue, 5 Nov 2024 13:57:47 -0800 Subject: [PATCH] basename --- infra/release-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/release-build.sh b/infra/release-build.sh index 637de8a..78bce6b 100755 --- a/infra/release-build.sh +++ b/infra/release-build.sh @@ -106,5 +106,5 @@ trap uninstall_cert EXIT for target in "${TARGETS[@]}"; do target_file=$(bazel cquery --output=files "${target}") sign_and_notarize_binary "${target_file}" - cp "${target_file}" "_out/${target_file}${EXT}" + cp "${target_file}" "_out/$(basename ${target_file})${EXT}" done