From aebf8b607336eedf05214b8bf8bb293d731cf6aa Mon Sep 17 00:00:00 2001 From: KaySar12 Date: Thu, 15 May 2025 17:20:45 +0700 Subject: [PATCH] feat(makefile): add push_code target for automatic commit generation add target to generate commit messages using gen_commit.py script with user authentication against the BASE_REPO. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index ffdccde70..9d99470ea 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,9 @@ ADDONS=${PWD}/addons,${PWD}/odoo/addons,${PWD}/extra-addons BACKUP=${CDN}/raw/branch/main/backup/${VERSION}/odoo18-main_2025-01-15_08-05-47.zip AUTOMATION_PATH=${PWD}/automation UPGRADE_SCRIPTS=$(shell cat upgrade_scripts | tr '\n' ',') +BASE_REPO = git.nextzenos.com/NextERP/Odoo18-Base.git +push_code: + $(PYTHON) ${SCRIPT_PATH}/interpreter/gen_commit.py $(GIT_USER) $(GIT_PASS) $(BASE_REPO) $(PWD) ##### Virtual Environment ##### check-virtualenv: @if [ "$(VENV)" = "missing" ]; then \