diff --git a/odoo_filter_addons/main.py b/odoo_filter_addons/main.py index c6ae009..77cf2c8 100644 --- a/odoo_filter_addons/main.py +++ b/odoo_filter_addons/main.py @@ -97,7 +97,7 @@ def filter_repo(agg_path, rname, repo, modules): for merge in repo["merges"]: merge = merge.strip() remote, ref = merge.split() - if ref.startswith("refs/"): + if "/" in ref: commit = git("-C", rpath, "ls-remote", "--exit-code", remote, ref).strip().split()[0] lines.append(f"{merge} {commit}") elif len(ref) == 40: diff --git a/odoo_filter_addons/version.py b/odoo_filter_addons/version.py index f708a9b..7b1e312 100644 --- a/odoo_filter_addons/version.py +++ b/odoo_filter_addons/version.py @@ -1 +1 @@ -__version__ = "1.3.2" +__version__ = "1.3.3"