diff --git a/gitlab_release/python-module/commit_footer/commits.py b/gitlab_release/python-module/commit_footer/commits.py index 179a798..cb5c5cf 100644 --- a/gitlab_release/python-module/commit_footer/commits.py +++ b/gitlab_release/python-module/commit_footer/commits.py @@ -59,7 +59,7 @@ class Commits: commit_footer = re.findall(r"([\!|\#][0-9]+)", str(git_message)) - if len(footer) > 0: + if len(commit_footer) > 0: footer = commit_footer else: footer = False