mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
v1.14.0-djmaze8
This commit is contained in:
parent
3757324e32
commit
749fe314aa
3 changed files with 21 additions and 17 deletions
13
release.php
13
release.php
|
|
@ -22,14 +22,14 @@ if ($return_var) {
|
|||
}
|
||||
|
||||
if ($gzip = trim(`which gzip`)) {
|
||||
// passthru("{$gzip} -k --best -r ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/js/*.js'), $return_var);
|
||||
// passthru("{$gzip} -k --best -r ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/css/app*.css'), $return_var);
|
||||
passthru("{$gzip} -k --best -r ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/js/*.js'), $return_var);
|
||||
passthru("{$gzip} -k --best -r ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/css/app*.css'), $return_var);
|
||||
}
|
||||
|
||||
if ($brotli = trim(`which brotli`)) {
|
||||
// passthru("{$brotli} -k --best ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/js/*.js'), $return_var);
|
||||
// passthru("{$brotli} -k --best ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/js/min/*.js'), $return_var);
|
||||
// passthru("{$brotli} -k --best ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/css/app*.css'), $return_var);
|
||||
passthru("{$brotli} -k --best ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/js/*.js'), $return_var);
|
||||
passthru("{$brotli} -k --best ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/js/min/*.js'), $return_var);
|
||||
passthru("{$brotli} -k --best ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/css/app*.css'), $return_var);
|
||||
}
|
||||
|
||||
// Temporary rename folder to speed up PharData
|
||||
|
|
@ -73,6 +73,9 @@ $tar->addFromString('data/VERSION', $package->version);
|
|||
$zip->addFile('_include.php');
|
||||
$tar->addFile('_include.php');
|
||||
|
||||
$zip->addFile('.htaccess');
|
||||
$tar->addFile('.htaccess');
|
||||
|
||||
$index = file_get_contents('index.php');
|
||||
$index = str_replace('0.0.0', $package->version, $index);
|
||||
$index = str_replace('source', 'community', $index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue