From 83ff602db33527917ca207a5366b0204ae454328 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 4 Dec 2024 02:21:53 -0500 Subject: [PATCH] [UPD] script docker build: force odoo version into image version --- script/docker/docker_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/docker/docker_build.sh b/script/docker/docker_build.sh index 5c24bf6..287fcf4 100755 --- a/script/docker/docker_build.sh +++ b/script/docker/docker_build.sh @@ -67,15 +67,15 @@ echo $POETRY_VERSION if [ "$IS_RELEASE_ALPHA" == true ] then # Add commit hash when release alpha - ERPLIBRE_VERSION="${ERPLIBRE_VERSION}_ALPHA_$(git rev-parse --short HEAD)" + ERPLIBRE_VERSION="${ERPLIBRE_VERSION}_ALPHA_odoo_${ODOO_VERSION}_$(git rev-parse --short HEAD)" elif [ "$IS_RELEASE_BETA" == true ] then # Add commit hash when release beta - ERPLIBRE_VERSION="${ERPLIBRE_VERSION}_BETA_$(git rev-parse --short HEAD)" + ERPLIBRE_VERSION="${ERPLIBRE_VERSION}_BETA_odoo_${ODOO_VERSION}_$(git rev-parse --short HEAD)" elif [ "$IS_RELEASE" == false ] then # Add commit hash when not a release - ERPLIBRE_VERSION="${ERPLIBRE_VERSION}_$(git rev-parse --short HEAD)" + ERPLIBRE_VERSION="${ERPLIBRE_VERSION}_odoo_${ODOO_VERSION}_$(git rev-parse --short HEAD)" fi