Files
odoocker/odoo/clone-enterprise.sh
2023-12-20 10:42:52 -07:00

8 lines
275 B
Bash
Executable File

#!/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