Update release.mk

This commit is contained in:
Liangbin Lian 2023-12-22 20:48:35 +08:00 committed by GitHub
parent e3738ccb7d
commit 5040c85cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -37,11 +37,13 @@ $(1)/$(2)/version.latest: $(1)/$(2)/$(3)
$(1)/$(2)/$(3): $(BIN_DIR)/$(if $(4),$(4),$(3))
mkdir -p $(1)/$(2)
ifeq ($(IB),)
$(CP) $(BIN_DIR)/feeds.buildinfo $(1)/$(2)/
$(CP) $(BIN_DIR)/config.buildinfo $(1)/$(2)/
git log -n 1 --format="%h" > $(1)/$(2)/commit.buildinfo
$(CP) ./feeds.conf $(1)/$(2)/
./scripts/diffconfig.sh > $(1)/$(2)/config.seed
endif # !IB
$(CP) $$< $$@
endef