mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
1186974715
This will make UI static files part of the release artefacts, for consumption by downstream distributions. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
11 lines
236 B
Bash
Executable file
11 lines
236 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# compress static assets
|
|
|
|
set -euo pipefail
|
|
|
|
version="$(< VERSION)"
|
|
mkdir -p .tarballs
|
|
cd web/ui
|
|
find static -type f -not -name '*.gz' -print0 | xargs -0 tar czf ../../.tarballs/prometheus-web-ui-${version}.tar.gz
|