Revision: 12238
          http://sourceforge.net/p/skim-app/code/12238
Author:   hofman
Date:     2021-04-03 21:30:42 +0000 (Sat, 03 Apr 2021)
Log Message:
-----------
Use identifier for notarization with file extension from notarized file

Modified Paths:
--------------
    trunk/build_skim.py

Modified: trunk/build_skim.py
===================================================================
--- trunk/build_skim.py 2021-04-03 14:11:17 UTC (rev 12237)
+++ trunk/build_skim.py 2021-04-03 21:30:42 UTC (rev 12238)
@@ -133,7 +133,8 @@
 def notarize_dmg_or_zip(dmg_path, username, password):
     """dmg_path: zip file or dmg file"""
     
-    notarize_cmd = ["xcrun", "altool", "--notarize-app", 
"--primary-bundle-id", "net.sourceforce.skim-app.skim.zip", "--username", 
username, "--password",  password, "--output-format", "xml", "--file", dmg_path]
+    identifier = "net.sourceforce.skim-app.skim" + 
os.path.splitext(dmg_path)[1]
+    notarize_cmd = ["xcrun", "altool", "--notarize-app", 
"--primary-bundle-id", identifier, "--username", username, "--password",  
password, "--output-format", "xml", "--file", dmg_path]
     notarize_task = Popen(notarize_cmd, cwd=SOURCE_DIR, stdout=PIPE, 
stderr=PIPE)
     [output, error] = notarize_task.communicate()
     rc = notarize_task.returncode

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to