# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1685961051 -7200
#      Mon Jun 05 12:30:51 2023 +0200
# Node ID fa82c6edf11202cb01651d136778df33a2c4905b
# Parent  4385045d5fca02c6b4353e34448e828b4ae25324
🚑 Add missing common shell script

diff --git a/NEWS.rst b/NEWS.rst
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,11 @@
 History
 =======
 
+20.3.1
+------
+
+Add missing common shell script.
+
 20.3.0
 ------
 
diff --git a/create_archive b/create_archive
--- a/create_archive
+++ b/create_archive
@@ -4,7 +4,7 @@
 # Create archive of project sources
 
 here=$(dirname "$0")
-source $here/common
+source $here/odoo_scripts_common
 
 # Arguments:
 # - directory of the odoo sources
diff --git a/create_documentation b/create_documentation
--- a/create_documentation
+++ b/create_documentation
@@ -9,7 +9,7 @@
 
 # Version 20.3.0
 here=$(dirname $0)
-source $here/common
+source $here/odoo_scripts_common
 
 project_name=${DOC_PROJECT_NAME:-${CI_PROJECT_NAME:-${DRONE_REPO_NAME:-project_name}}}
 languages=(${LANGUAGES:-en})
diff --git a/do_tests.zsh b/do_tests.zsh
--- a/do_tests.zsh
+++ b/do_tests.zsh
@@ -16,7 +16,7 @@
 # Version 20.3.0
 
 here=$(dirname $0)
-source $here/common
+source $here/odoo_scripts_common
 
 # this is the same value as conf/drone/odoo.conf
 if [[ -e "${project_home}/conf/drone/odoo.conf" ]];
diff --git a/common b/odoo_scripts_common
rename from common
rename to odoo_scripts_common
diff --git a/pyproject.toml b/pyproject.toml
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -79,6 +79,7 @@
 
 [tool.setuptools]
 script-files = [
+  "odoo_scripts_common",
   "create_archive",
   "create_documentation",
   "do_tests.zsh",
diff --git a/run_tests b/run_tests
--- a/run_tests
+++ b/run_tests
@@ -7,7 +7,7 @@
 # The DB user can be overridden by setting ODOO_SCRIPTS_DB_USER.
 # Version 20.3.0
 here=$(dirname $0)
-source $here/common
+source $here/odoo_scripts_common
 
 tested_modules=${ODOO_SCRIPTS_MODULE_LIST_TESTS-$(read_odoo_scripts_expandable_configuration_key module_list_tests)}
 
diff --git a/start b/start
--- a/start
+++ b/start
@@ -9,7 +9,7 @@
 # Version 20.3.0
 
 here=$(dirname $0)
-source $here/common
+source $here/odoo_scripts_common
 
 # odoo7, odoo8, odoo10, odoo11, odoo13
 echo "$DEBUG Reading odoo_type from odoo_scripts configuration"