diff options
-rwxr-xr-x | scripts/dev/build_release.py | 15 |
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") |