alertmanager/scripts/package_assets.sh
Julien Pivotto 74ebd3d175
Package and ship frontend independenlty (#2893)
Enable frontend consumption by downstreams, like debian and nixos

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-04-22 12:07:11 +02:00

10 lines
200 B
Bash
Executable File

#!/usr/bin/env bash
#
# compress static assets
set -euo pipefail
version="$(< VERSION)"
mkdir -p .tarballs
tar czf .tarballs/alertmanager-web-ui-${version}.tar.gz ui/app/script.js ui/app/index.html