Skip to content

Commit

Permalink
Remove the no longer used --notarization_id flag.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 622387143
  • Loading branch information
hiroyuki-komatsu committed Apr 6, 2024
1 parent 0225743 commit dbbddb1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/build_tools/codesign_mac.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def ParseOption():
default=False)
parser.add_option("--verify", dest="verify", action="store_true",
default=False)
parser.add_option("--notarization_id", dest="notarization_id")
parser.add_option("--output", dest="output")
(options, unused_args) = parser.parse_args()

Expand All @@ -150,7 +149,7 @@ def DumpEnviron():
print("==================")


def Notarize(target, bundle_id):
def Notarize(target):
"""Execute the notariazation commands."""


Expand All @@ -170,9 +169,7 @@ def main():
UnlockKeychain(keychain, opts.password)

Codesign(opts.target, keychain=keychain)

if opts.notarization_id:
Notarize(opts.target, opts.notarization_id)
Notarize(opts.target)

# Output something to make the processes trackable.
if opts.output:
Expand Down

0 comments on commit dbbddb1

Please sign in to comment.