Skip to content

Commit

Permalink
Improve installer archive naming (output of travis builds)
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Apr 13, 2019
1 parent e19841f commit 7279c67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions travis_build_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ def ignore_filter(folderPath, folderContents):
call(['cp', '-r', staging_folder + '/.', osInstallData])

# RELATIVE PATHS MUST CONTAIN ./
tar_gz(f'./{bootstrap_copy_folder}/higu_linux64_installer/', os.path.join(output_folder, 'seventh_mod_inst_linux.tar.gz'))
zip(f'./{bootstrap_copy_folder}/higu_win_installer/', os.path.join(output_folder, 'seventh_mod_inst_windows_64bit.zip'))
zip(f'./{bootstrap_copy_folder}/higu_win_installer_32/', os.path.join(output_folder, 'seventh_mod_inst_windows_32bit.zip'))
tar_gz(f'./{bootstrap_copy_folder}/higu_linux64_installer/', os.path.join(output_folder, '07th-Mod.Installer.linux.tar.gz'))
zip(f'./{bootstrap_copy_folder}/higu_win_installer/', os.path.join(output_folder, '07th-Mod.Installer.win64.zip'))
zip(f'./{bootstrap_copy_folder}/higu_win_installer_32/', os.path.join(output_folder, '07th-Mod.Installer.win32.zip'))

# NOTE: mac zip doesn't need subdir - use '/*' to achieve this
zip(f'./{bootstrap_copy_folder}/higu_mac_installer/*', os.path.join(output_folder, 'seventh_mod_inst_mac.zip'))
zip(f'./{bootstrap_copy_folder}/higu_mac_installer/*', os.path.join(output_folder, '07th-Mod.Installer.mac.zip'))

try_remove_tree(staging_folder)
try_remove_tree(bootstrap_copy_folder)

0 comments on commit 7279c67

Please sign in to comment.