.PHONY: run check commit notify checksums $(commitinfo.sh) test
-run:
+run:
@$(MAKE) check; rc=$$?; \
- if [ $$rc -eq 0 ]; then \
- echo "[run] check $$rc, go to commitinfo.sh..."; \
- $(MAKE) $(commitinfo.sh); ci=$$?; \
- if [ $$ci -eq 0 ]; then \
- echo "[run] commitinfo.sh exit $$ci. Go to checksums.sh..."; \
- $(MAKE) checksums; cs=$$?; \
- if [ $$cs -eq 0 ]; then \
- echo "[run] checksums.sh exit $$cs. Do git add commit and push..."; \
- $(MAKE) commit; cm=$$?; \
- if [ $$cm -eq 0 ]; then \
- echo "[run] commit exit $$cm. Exit Ok."; \
- else \
- $(MAKE) notify MSG="[arun] commit exit $$cm. Check it!"; \
- fi \
+ if [ $$rc -eq 0 ]; then \
+ echo "[run] check $$rc, go to commitinfo.sh..."; \
+ $(MAKE) $(commitinfo.sh); ci=$$?; \
+ if [ $$ci -eq 0 ]; then \
+ echo "[run] commitinfo.sh exit $$ci. Go to checksums.sh..."; \
+ $(MAKE) checksums; cs=$$?; \
+ if [ $$cs -eq 0 ]; then \
+ echo "[run] checksums.sh exit $$cs. Do git add commit and push..."; \
+ $(MAKE) commit; cm=$$?; \
+ if [ $$cm -eq 0 ]; then \
+ echo "[run] commit exit $$cm. Exit Ok."; \
else \
- $(MAKE) notify MSG="[run] checksums.sh exit $$cs, check it!"; \
+ $(MAKE) notify MSG="[arun] commit exit $$cm. Check it!"; \
fi \
else \
- $(MAKE) notify MSG="[run] commitinfo.sh exit $$ci, check it!"; \
+ $(MAKE) notify MSG="[run] checksums.sh exit $$cs, check it!"; \
fi \
- else \
- echo "[run] check exit $$rc, repo is clean exit Ok."; \
- fi
+ else \
+ $(MAKE) notify MSG="[run] commitinfo.sh exit $$ci, check it!"; \
+ fi \
+ else \
+ echo "[run] check exit $$rc, repo is clean exit Ok."; \
+ fi
@echo "[run] done"
check:
:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/172/7f6b1f06";
+:global CommitId "main/173/0bbcc9a3";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 05:02:05 12.03.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 05:04:04 12.03.2026.";
# The variables are received right here.
:global GlobalConfVersion 138;