mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 03:24:05 -08:00
344b272b3e
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>
9 lines
156 B
Bash
Executable file
9 lines
156 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# compress static assets
|
|
|
|
set -euo pipefail
|
|
|
|
cd web/ui
|
|
find static -type f -not -name '*.gz' -print0 | xargs -0 tar czf static.tar.gz
|