| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # |
| 3 | # Notarizes the file given on the command line with the Apple ID in |
| 4 | # $DARWIN_DEV_USER, the password in $DARWIN_DEV_PASS, and the team ID (usually |
| 5 | # ten characters) in $DARWIN_DEV_TEAM. |
| 6 | # |
| 7 | # This script exists to not echo these variables into the log. Don't run this |
| 8 | # on a multi-user system, only in CI. |
| 9 | |
| 10 | xcrun notarytool submit "$1" \ |
| 11 | --apple-id "$DARWIN_DEV_USER" --password "$DARWIN_DEV_PASS" --team-id "$DARWIN_DEV_TEAM" \ |
| 12 | --wait |