feat(makefile): add push_code target for automatic commit generation
Some checks are pending
Setup Native Action / native (3.12.7) (push) Waiting to run
Setup Native Action / docker (3.12.7) (push) Waiting to run

add target to generate commit messages using gen_commit.py script with user authentication against the BASE_REPO.
This commit is contained in:
KaySar12 2025-05-15 17:20:45 +07:00
parent 5b2558767f
commit aebf8b6073

View File

@ -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 \