Revision: 25687
          http://sourceforge.net/p/bibdesk/svn/25687
Author:   hofman
Date:     2021-04-03 21:30:49 +0000 (Sat, 03 Apr 2021)
Log Message:
-----------
Use identifier for notarization with file extension from notarized file

Modified Paths:
--------------
    trunk/bibdesk/build_release.py

Modified: trunk/bibdesk/build_release.py
===================================================================
--- trunk/bibdesk/build_release.py      2021-04-03 14:11:50 UTC (rev 25686)
+++ trunk/bibdesk/build_release.py      2021-04-03 21:30:49 UTC (rev 25687)
@@ -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.bibdesk.zip", "--username", username, 
"--password",  password, "--output-format", "xml", "--file", dmg_path]
+    identifier = "net.sourceforce.bibdesk" + 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.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to