Packaging script now does .zip also
This commit is contained in:
parent
89a2242759
commit
35fbe515f9
@ -9,7 +9,7 @@ $root = preg_replace('/\/[^\/]+$/','',dirname(__FILE__));
|
|||||||
foreach ($platforms as $platform) {
|
foreach ($platforms as $platform) {
|
||||||
$manifest = JSON_decode(file_get_contents("{$root}/build/{$platform}/manifest.json"), true);
|
$manifest = JSON_decode(file_get_contents("{$root}/build/{$platform}/manifest.json"), true);
|
||||||
$version = $manifest["version"];
|
$version = $manifest["version"];
|
||||||
`cd {$root}/build/{$platform}; tar czf {$root}/AlwaysKillSticky-{$platform}-{$version}.tar.gz *`;
|
`cd {$root}/build/{$platform}; tar czf {$root}/AlwaysKillSticky-{$platform}-{$version}.tar.gz *; zip -r -FS {$root}/AlwaysKillSticky-{$platform}-{$version}.zip *`;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Loading…
Reference in New Issue
Block a user