upgrade: third party public and private addons are now dynamically cloned and extensible with a handy format

This commit is contained in:
yhaelopez
2023-12-19 02:17:56 -07:00
parent f9a6d5c1ab
commit f2be28ff3e
12 changed files with 140 additions and 103 deletions

7
odoo/clone-enterprise.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
if [ -n "$ENTERPRISE_USER" ] && [ -n "$ENTERPRISE_ACCESS_TOKEN" ]; then \
git clone https://${ENTERPRISE_USER}:${ENTERPRISE_ACCESS_TOKEN}@github.com/odoo/enterprise.git ${ENTERPRISE_ADDONS} --depth 1 --branch ${ODOO_TAG} --single-branch --no-tags
fi