File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1616ls -lh dist/
1717
1818if [ " $( uname) " == Darwin ]; then
19+ notary_arch=amd64
20+ if [ ` uname -m` = arm64 ]; then
21+ notary_arch=arm64
22+ fi
1923 # https://wiki.corp.mongodb.com/display/BUILD/How+to+use+MacOS+notary+service
2024 # download macnotary client
21- curl -LO https://macos-notary-1628249594.s3.amazonaws.com/releases/client/latest/darwin_amd64 .zip
22- unzip darwin_amd64 .zip
23- chmod +x ./darwin_amd64 /macnotary
24- ./darwin_amd64 /macnotary -v
25+ curl -LO https://macos-notary-1628249594.s3.amazonaws.com/releases/client/latest/darwin_ ${notary_arch} .zip
26+ unzip darwin_ ${notary_arch} .zip
27+ chmod +x ./darwin_ ${notary_arch} /macnotary
28+ ./darwin_ ${notary_arch} /macnotary -v
2529
2630 FILE=$( echo ./dist/* .zip)
2731 echo " notarizing $FILE ..."
You can’t perform that action at this time.
0 commit comments