summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2023-07-30 13:28:15 +1200
committertoofar <toofar@spalge.com>2023-08-05 17:03:50 +1200
commitc2092640e766e32c6a2913b6994030816938bc1a (patch)
tree7103319ad309d68ae07cf5035190cbdc35cf4db2
parent693e391410dbc59fb747c4ad1d9f964bd130d3bd (diff)
downloadqutebrowser-c2092640e766e32c6a2913b6994030816938bc1a.tar.gz
qutebrowser-c2092640e766e32c6a2913b6994030816938bc1a.zip
Remove local re-signing of macOS build.
Now that we aren't patching the build we shouldn't have to try to re-sign in.
-rwxr-xr-xscripts/dev/build_release.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py
index 5c07a488a..dadb7baf5 100755
--- a/scripts/dev/build_release.py
+++ b/scripts/dev/build_release.py
@@ -245,20 +245,11 @@ def verify_windows_exe(exe_path: pathlib.Path) -> None:
assert pe.verify_checksum()
-def sign_mac_app() -> None:
+def verify_mac_app() -> None:
"""Re-sign and verify the Mac .app."""
app_path = pathlib.Path('dist') / 'qutebrowser.app'
subprocess.run([
'codesign',
- '-s', '-',
- '--force',
- '--timestamp',
- '--deep',
- '--verbose',
- app_path,
- ], check=True)
- subprocess.run([
- 'codesign',
'--verify',
'--strict',
'--deep',
@@ -295,8 +286,8 @@ def build_mac(
utils.print_title("Building .app via pyinstaller")
call_tox(f'pyinstaller-64bit{"-qt5" if qt5 else ""}', '-r', debug=debug)
- utils.print_title("Re-signing .app")
- sign_mac_app()
+ utils.print_title("Verifying .app")
+ verify_mac_app()
dist_path = pathlib.Path("dist")