Skip to content

Commit

Permalink
make script executable and add ignored folder (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
nammn committed Mar 5, 2024
1 parent 45e9b12 commit b0a80fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*.iml
.DS_Store
tools/multicluster/linux_amd64/*
2 changes: 1 addition & 1 deletion tools/multicluster/kubectl_mac_notarize.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set -Eeou pipefail
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
echo "notarizing macOs binaries"
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
"${workdir-}"/macnotary \
"${workdir:-.}"/linux_amd64/macnotary \
-f ./dist/kubectl-mongodb_amd64_arm64_bin.zip \
-m notarizeAndSign -u https://dev.macos-notary.build.10gen.cc/api \
-b com.mongodb.mongodb-kubectl-mongodb \
Expand Down

0 comments on commit b0a80fa

Please sign in to comment.