mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-29 20:49:48 +01:00
[ticket/11764] Create separate packages for subsilver2 on releases.
PHPBB3-11764
This commit is contained in:
parent
9100f4ebbf
commit
40e76c090e
@ -428,14 +428,22 @@ chdir($package->get('dest_dir') . '/install');
|
||||
// $package->run_command('rm -v database_update.php');
|
||||
$package->run_command('rm -v install_update.php');
|
||||
|
||||
chdir($package->get('dest_dir'));
|
||||
$package->run_command('mv -v styles/subsilver2 ../subsilver2');
|
||||
$package->run_command('cp -p docs/COPYING ../subsilver2/license.txt');
|
||||
|
||||
chdir($package->locations['package_dir']);
|
||||
foreach ($compress_programs as $extension => $compress_command)
|
||||
{
|
||||
$package->begin_status('Packaging phpBB for ' . $extension);
|
||||
$package->run_command('rm -v ./release_files/' . $package->get('release_filename') . ".{$extension}");
|
||||
$package->run_command('rm -v ./release_files/subsilver2_' . $package->get('new_version_number') . ".{$extension}");
|
||||
|
||||
// Build Package
|
||||
$package->run_command("$compress_command ./release_files/" . $package->get('release_filename') . '.' . $extension . ' ' . $package->get('package_name'));
|
||||
|
||||
// Build subSilver2 Package
|
||||
$package->run_command("$compress_command ./release_files/subsilver2_" . $package->get('new_version_number') . '.' . $extension . ' subsilver2');
|
||||
}
|
||||
|
||||
// Microsoft Web PI packaging
|
||||
|
Loading…
x
Reference in New Issue
Block a user