Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve build-script with tar.zst #3039

Merged
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
$zipFilename = str_replace('.zip', '_German.zip', $filename);
$targzFilename = str_replace('.zip', '_German.tar.gz', $filename);
$tarbz2Filename = str_replace('.zip', '_German.tar.bz2', $filename);
$tarzst2Filename = str_replace('.zip', '_German.tar.zst', $filename);
tecpromotion marked this conversation as resolved.
Show resolved Hide resolved

message('Build new full packages.', $verbose);

Expand All @@ -261,6 +262,8 @@
system("tar -czf $tmp/packages/$targzFilename * > '/dev/null'");
message('Build new full tar.bz2 package.', $verbose);
system("tar -cjf $tmp/packages/$tarbz2Filename * > '/dev/null'");
message('Build new full tar.zst package.', $verbose);
system("tar -I \"zstd -19\" -cvf $tmp/packages/$tarzst2Filename * > '/dev/null'");
tecpromotion marked this conversation as resolved.
Show resolved Hide resolved

chdir('..');
}
Expand Down