9 lines
405 B
Makefile
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 )
|