You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/multicluster/kubectl_mac_notarize.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ set -Eeou pipefail
20
20
# This depends on binaries being generated in a goreleaser manner and gon being set up.
21
21
# goreleaser should already take care of calling this script as a hook.
22
22
23
-
if [[ -f"./dist/kubectl-mongodb_darwin_arm64/kubectl-mongodb"&&-f"./dist/kubectl-mongodb_darwin_amd64_v1/kubectl-mongodb"&&!-f"./dist/kubectl-mongodb_macos_signed.zip" ]];then
23
+
if [[ -f"./dist/kubectl-mongodb_darwin_amd64_v1/kubectl-mongodb"&&-f"./dist/kubectl-mongodb_darwin_arm64/kubectl-mongodb"&&!-f"./dist/kubectl-mongodb_macos_signed.zip" ]];then
24
24
echo"notarizing macOs binaries"
25
25
zip -r ./dist/kubectl-mongodb_amd64_arm64_bin.zip ./dist/kubectl-mongodb_darwin_amd64_v1/kubectl-mongodb ./dist/kubectl-mongodb_darwin_arm64/kubectl-mongodb # The Notarization Service takes an archive as input
0 commit comments