feat: updated comments in build job
All checks were successful
Build / build (pull_request) Successful in 2m2s
All checks were successful
Build / build (pull_request) Successful in 2m2s
This commit is contained in:
parent
9b9161048a
commit
9431044351
4
Makefile
4
Makefile
@ -23,16 +23,16 @@ cache:
|
|||||||
$(PACKAGES):
|
$(PACKAGES):
|
||||||
@PACKAGE_NAME=$(shell echo $(@) | cut -d/ -f1) && \
|
@PACKAGE_NAME=$(shell echo $(@) | cut -d/ -f1) && \
|
||||||
PACKAGE_VERSION=$(shell echo $(@) | cut -d/ -f2) && \
|
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
|
$(MAKE) build PACKAGE_NAME=$$PACKAGE_NAME PACKAGE_VERSION=$$PACKAGE_VERSION
|
||||||
|
|
||||||
# Build target
|
# Build target
|
||||||
build:
|
build:
|
||||||
@mkdir -p $(ROOT_DIR)/dist/$(PACKAGE_NAME)/
|
@mkdir -p $(ROOT_DIR)/dist/$(PACKAGE_NAME)/
|
||||||
@echo "Preparing to build $(PACKAGE_NAME) version $(PACKAGE_VERSION)"
|
|
||||||
@cd $(RPMS_DIR)/$(PACKAGE_NAME) && \
|
@cd $(RPMS_DIR)/$(PACKAGE_NAME) && \
|
||||||
export PACKAGE_RELEASE=$$(cat $(PACKAGE_VERSION)/release) && \
|
export PACKAGE_RELEASE=$$(cat $(PACKAGE_VERSION)/release) && \
|
||||||
export PACKAGE_FULL_NAME=$(PACKAGE_NAME)-$(PACKAGE_VERSION)-$$PACKAGE_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 \
|
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)"; \
|
echo "Skipping build for $(PACKAGE_NAME) version $(PACKAGE_VERSION) (already exists in the repository)"; \
|
||||||
else \
|
else \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user