mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00: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
|