From 5bb471efc73d830094db67d43e22564de5ea1df7 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Mon, 4 Aug 2025 20:35:10 +0200 Subject: [PATCH] fix(build): update platform variable and add support for odoo 18.0 --- task | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/task b/task index 143bd038..fb215d25 100755 --- a/task +++ b/task @@ -633,7 +633,7 @@ function build() { fi if [ -n "$2" ]; then - PLATFORM="$1" + PLATFORM="$2" fi ODOO_DATE=$(echo "$ODOO_REVISION" | cut -d'.' -f3-) @@ -650,11 +650,15 @@ function build() { "17.0") PYTHON_VERSION="3.11" ;; + "18.0") + PYTHON_VERSION="3.12" + ;; *) PYTHON_VERSION="3.12" ;; esac echo "Python version is: $PYTHON_VERSION" + echo "Platform is: $PLATFORM" if [ "$CONTAINER_ENGINE" == "podman" ]; then echo "Remove container image with tag ${CONTAINER_REGISTRY}${CONTAINER_TAG}"