Pack Watch Companion dsyms

This commit is contained in:
Kylmakalle 2025-01-15 22:57:08 +02:00
parent 20fe9eca69
commit 4d6ab446c0

View File

@ -572,7 +572,7 @@ def build(bazel, arguments):
sys.exit(1) sys.exit(1)
shutil.copyfile(ipa_paths[0], artifacts_path + '/Swiftgram.ipa') shutil.copyfile(ipa_paths[0], artifacts_path + '/Swiftgram.ipa')
dsym_paths = glob.glob('bazel-bin/Telegram/*.dSYM') dsym_paths = glob.glob('bazel-bin/Telegram/*.dSYM') + glob.glob('bazel-out/watchos_arm64_32-opt-watchos-arm64_32-min9.0-applebin_watchos-ST-*/bin/Telegram/TelegramWatchApp_dsyms/*.dSYM')
for dsym_path in dsym_paths: for dsym_path in dsym_paths:
file_name = os.path.basename(dsym_path) file_name = os.path.basename(dsym_path)
shutil.copytree(dsym_path, artifacts_path + '/DSYMs/{}'.format(file_name)) shutil.copytree(dsym_path, artifacts_path + '/DSYMs/{}'.format(file_name))