mirror of
				https://github.com/prometheus/prometheus.git
				synced 2025-10-27 06:21:01 +01:00 
			
		
		
		
	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
 |