diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-02-03 19:03:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-02-03 19:03:51 +0300 |
commit | 3125cfceec35ef14374ae98f9a400e7a678287a2 (patch) | |
tree | 419b2e4743c5c642186d2e2904b4c8f543894e4b /build_files/buildbot/slave_pack.py | |
parent | 59e1c2f6296e38ab21f2650e32089c22b80777f6 (diff) |
Codesign: Add codesign for macOS worker
Works similarly to Windows configuration where buildbot worker and
codesign machines are communicating with each other using network
drive.
Diffstat (limited to 'build_files/buildbot/slave_pack.py')
-rw-r--r-- | build_files/buildbot/slave_pack.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build_files/buildbot/slave_pack.py b/build_files/buildbot/slave_pack.py index f47cfe0347e..3cefe2d5ec6 100644 --- a/build_files/buildbot/slave_pack.py +++ b/build_files/buildbot/slave_pack.py @@ -109,14 +109,15 @@ def pack_mac(builder): package_filepath = os.path.join(builder.build_dir, package_filename) release_dir = os.path.join(builder.blender_dir, 'release', 'darwin') - bundle_sh = os.path.join(release_dir, 'bundle.sh') + buildbot_dir = os.path.join(builder.blender_dir, 'build_files', 'buildbot') + bundle_script = os.path.join(buildbot_dir, 'slave_bundle_dmg.py') - command = [bundle_sh] - command += ['--source', builder.install_dir] + command = [bundle_script] command += ['--dmg', package_filepath] if info.is_development_build: background_image = os.path.join(release_dir, 'buildbot', 'background.tif') command += ['--background-image', background_image] + command += [builder.install_dir] buildbot_utils.call(command) create_buildbot_upload_zip(builder, [(package_filepath, package_filename)]) |