From abde7031b5f10ccecc225181fb00849776b22dbd Mon Sep 17 00:00:00 2001 From: sam-butcher Date: Fri, 22 Nov 2024 13:25:49 +0000 Subject: [PATCH] expand deep sign jars regex and test notarisation for mac snapshots --- .circleci/config.yml | 8 +++++++- BUILD | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 31effe5e..6c69e93b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -73,7 +73,13 @@ commands: # 2) jpackage does not support 0 as a major version # This writes VERSION-SHA1 into the VERSION file to be used by the assembly rule. echo $(cat VERSION)-$CIRCLE_SHA1 > VERSION - bazel run //:deploy-mac-<>-dmg --compilation_mode=opt --spawn_strategy=local -- snapshot + bazel run //:deploy-mac-<>-dmg --compilation_mode=opt \ + --define APPLE_CODE_SIGN=yes \ + --define APPLE_ID=$APPLE_ID \ + --define APPLE_ID_PASSWORD=$APPLE_ID_PASSWORD \ + --define APPLE_TEAM_ID=$APPLE_TEAM_ID \ + --define APPLE_CODE_SIGNING_CERT_PASSWORD=$APPLE_CODE_SIGNING_CERT_PASSWORD \ + --spawn_strategy=local -- snapshot deploy-mac-release: parameters: diff --git a/BUILD b/BUILD index 487a6aa1..382e68bc 100644 --- a/BUILD +++ b/BUILD @@ -176,7 +176,7 @@ assemble_jvm_platform( mac_app_id = "com.typedb.studio", mac_entitlements = "//config/mac:entitlements-mac-plist", mac_code_signing_cert = "@vaticle_apple_developer_id_application_cert//file", - mac_deep_sign_jars_regex = ".*io-netty-netty.*", + mac_deep_sign_jars_regex = ".*(io-netty-netty|typedb-typedb-driver).*", windows_menu_group = "TypeDB Studio", )