use release.env from DIST_DIR when attesting

This commit is contained in:
Lance Vick 2023-02-10 13:07:12 -08:00
parent 14c700d3be
commit 99c9bd4f79
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ toolchain-clean:
.PHONY: attest .PHONY: attest
attest: attest:
rm -rf $(CACHE_DIR) $(OUT_DIR) rm -rf $(CACHE_DIR) $(OUT_DIR)
mkdir -p $(OUT_DIR)
cp $(DIST_DIR)/release.env $(OUT_DIR)/release.env
$(MAKE) TARGET=$(TARGET) VERSION=$(VERSION) $(MAKE) TARGET=$(TARGET) VERSION=$(VERSION)
diff -q $(OUT_DIR)/manifest.txt $(DIST_DIR)/manifest.txt; diff -q $(OUT_DIR)/manifest.txt $(DIST_DIR)/manifest.txt;