Files
bifrost-registry/registry.mk
T
2025-05-08 10:00:03 +07:00

9 lines
405 B
Makefile

REGISTRY_PATH = $(shell pwd)/registry
REGISTRY_REPO = git.nextzenos.com/NextZen/bifrost-registry.git
update_registry:
( cd $(REGISTRY_PATH) && \
@read -p "Enter your commit message: " commit_msg; \
git pull https://$(GIT_USER):$(GIT_PASS)@$(REGISTRY_REPO) || true; \
git add . && \
git commit -m "$${commit_msg:-update}" || true; \
git push https://$(GIT_USER):$(GIT_PASS)@$(REGISTRY_REPO) || true )