Fix assets tarball (#10548)

The tarball should be compressed and only use uncompressed assets. In
that way, uit can be used by downstream distros easily. they can either
download the assets and serve it as is or use the compress script to
have it in the binary.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2022-04-08 00:23:15 +02:00 committed by GitHub
parent 90e6db6d45
commit 344b272b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,4 +5,4 @@
set -euo pipefail
cd web/ui
find static -type f -name '*.gz' -print0 | xargs -0 tar cf static.tar.gz
find static -type f -not -name '*.gz' -print0 | xargs -0 tar czf static.tar.gz