# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1593597062 -7200
#      Wed Jul 01 11:51:02 2020 +0200
# Node ID 9e54b21aad69dec294c0b92ad1af731a35c1afe6
# Parent  eba351711a9c5af58a668c11c724a7428f69d597
📝 do not include CI files in duplicated sources

diff --git a/NEWS.rst b/NEWS.rst
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,11 @@
 History
 =======
 
+3.3
+---
+
+Do not include CI files when duplicating sources.
+
 3.2
 ---
 
@@ -13,8 +18,11 @@
 Add odoo 13.
 
 Add ODOO_ADDONS_PATH env var to start.
+
 Add import_sql script.
-Add option to bind odoo sources in the image
+
+Add option to bind odoo sources in the image:
+
 - ``update_duplicate_sources`` now relies on the metaproject clone URL instead
   of its directory name. Works fine with the bitbucket.org âž” orus.io move.
 
diff --git a/odoo_scripts/update_duplicate_sources.py b/odoo_scripts/update_duplicate_sources.py
--- a/odoo_scripts/update_duplicate_sources.py
+++ b/odoo_scripts/update_duplicate_sources.py
@@ -131,6 +131,8 @@
             "--exclude=.hg*",
             "--exclude=.git*",
             "--exclude='*.pyc'",
+            "--exclude=.drone.yml",
+            "--exclude=.gitlab-ci.yml",
             "--copy-unsafe-links",
             "--recursive",
             "--relative",