Merge pull request #411 from prometheus/repo_sync

Synchronize common files from prometheus/prometheus
This commit is contained in:
Matthias Rampke 2021-11-26 11:13:56 +01:00 committed by GitHub
commit 6564725760
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,8 +238,11 @@ endif
.PHONY: common-build
common-build: promu
@echo ">> building binaries"
GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
@bash -c "trap 'echo \">> restoring assets\"; scripts/compress_assets.sh -d;' EXIT; \
echo '>> compressing assets'; \
scripts/compress_assets.sh; \
echo '>> building binaries'; \
GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)"
.PHONY: common-tarball
common-tarball: promu