[UPD] script docker build: force odoo version into image version
This commit is contained in:
parent
07346c5238
commit
83ff602db3
1 changed files with 3 additions and 3 deletions
|
|
@ -67,15 +67,15 @@ echo $POETRY_VERSION
|
||||||
if [ "$IS_RELEASE_ALPHA" == true ]
|
if [ "$IS_RELEASE_ALPHA" == true ]
|
||||||
then
|
then
|
||||||
# Add commit hash when release alpha
|
# 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 ]
|
elif [ "$IS_RELEASE_BETA" == true ]
|
||||||
then
|
then
|
||||||
# Add commit hash when release beta
|
# 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 ]
|
elif [ "$IS_RELEASE" == false ]
|
||||||
then
|
then
|
||||||
# Add commit hash when not a release
|
# 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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue