File: notarize

package info (click to toggle)
git-lfs 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,808 kB
  • sloc: sh: 21,256; makefile: 507; ruby: 417
file content (12 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# Notarizes the file given on the command line with the Apple ID in
# $DARWIN_DEV_USER, the password in $DARWIN_DEV_PASS, and the team ID (usually
# ten characters) in $DARWIN_DEV_TEAM.
#
# This script exists to not echo these variables into the log.  Don't run this
# on a multi-user system, only in CI.

xcrun notarytool submit "$1" \
  --apple-id "$DARWIN_DEV_USER" --password "$DARWIN_DEV_PASS" --team-id "$DARWIN_DEV_TEAM" \
  --wait