SL-19242: Allow overwriting the Mac viewer's app bundle tarball.

master
Nat Goodspeed 2023-09-26 11:47:18 -04:00
parent e604dee693
commit 5f69db9d19
1 changed files with 1 additions and 1 deletions

View File

@ -932,7 +932,7 @@ class DarwinManifest(ViewerManifest):
# must itself be a symlink to some specific Versions subdir.
tarpath = os.path.join(RUNNER_TEMP, "viewer.tar.bz2")
print(f'Creating {tarpath} from {self.get_dst_prefix()}')
with tarfile.open(tarpath, mode="x:bz2") as tarball:
with tarfile.open(tarpath, mode="w:bz2") as tarball:
tarball.add(self.get_dst_prefix())
self.set_github_output_path('viewer_app', tarpath)