feat: updated comments in build job
Some checks failed
Build / build (pull_request) Failing after 1m3s

This commit is contained in:
Ben Vincent 2024-12-01 01:26:45 +11:00
parent 9b9161048a
commit c1af505608

View File

@ -23,16 +23,16 @@ cache:
$(PACKAGES):
@PACKAGE_NAME=$(shell echo $(@) | cut -d/ -f1) && \
PACKAGE_VERSION=$(shell echo $(@) | cut -d/ -f2) && \
echo "Building RPM for $$PACKAGE_NAME version $$PACKAGE_VERSION" && \
echo "Starting build $$PACKAGE_NAME/$$PACKAGE_VERSION" && \
$(MAKE) build PACKAGE_NAME=$$PACKAGE_NAME PACKAGE_VERSION=$$PACKAGE_VERSION
# Build target
build:
@mkdir -p $(ROOT_DIR)/dist/$(PACKAGE_NAME)/
@echo "Preparing to build $(PACKAGE_NAME) version $(PACKAGE_VERSION)"
@cd $(RPMS_DIR)/$(PACKAGE_NAME) && \
export PACKAGE_RELEASE=$$(cat $(PACKAGE_VERSION)/release) && \
export PACKAGE_FULL_NAME=$(PACKAGE_NAME)-$(PACKAGE_VERSION)-$$PACKAGE_RELEASE && \
@echo "Checking repos for $$PACKAGE_FULL_NAME" && \
if dnf info $$PACKAGE_FULL_NAME $(REPO_OPTIONS) > /dev/null 2>&1; then \
echo "Skipping build for $(PACKAGE_NAME) version $(PACKAGE_VERSION) (already exists in the repository)"; \
else \