build: correct uploader copy for tar files (#48953)

This commit is contained in:
Keeley Hammond
2025-11-13 20:07:52 -08:00
committed by GitHub
parent 16f1ec9001
commit b66bf5db0c
2 changed files with 12 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ sys.path.append(
from zipfile import ZipFile
from lib.config import PLATFORM, get_target_arch, \
get_zip_name, set_verbose_mode, \
get_zip_name, get_tar_name, set_verbose_mode, \
is_verbose_mode, get_platform_key, \
verbose_mode_print
from lib.util import get_electron_branding, execute, get_electron_version, \
@@ -33,7 +33,8 @@ OUT_DIR = get_out_dir()
DIST_NAME = get_zip_name(PROJECT_NAME, ELECTRON_VERSION)
SYMBOLS_NAME = get_zip_name(PROJECT_NAME, ELECTRON_VERSION, 'symbols')
DSYM_NAME = get_zip_name(PROJECT_NAME, ELECTRON_VERSION, 'dsym')
# Use tar.xz compression for dsym files due to size
DSYM_NAME = get_tar_name(PROJECT_NAME, ELECTRON_VERSION, 'dsym')
DSYM_SNAPSHOT_NAME = get_zip_name(PROJECT_NAME, ELECTRON_VERSION,
'dsym-snapshot')
PDB_NAME = get_zip_name(PROJECT_NAME, ELECTRON_VERSION, 'pdb')