From 1ce86ccb03f37856dfc1f90a02cfbe525bdd25a4 Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Thu, 6 Feb 2020 13:08:52 -0500 Subject: [PATCH] Update regex to support GitLab --- semver/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semver/__init__.py b/semver/__init__.py index c654210..0df9fe7 100644 --- a/semver/__init__.py +++ b/semver/__init__.py @@ -19,7 +19,7 @@ NO_GIT_FLOW = Exception('No git flow branch found') class SemVer(object): - GET_COMMIT_MESSAGE = re.compile(r"Merge (branch|pull request) '?(.+)'? (into|from) ([\w/-]+)") + GET_COMMIT_MESSAGE = re.compile(r"Merge (branch|pull request) '?(.+)'? (into|from) '?([\w\-]+)'?") # Merge pull request #1 from RightBrain-Networks/feature/PLAT-185-versioning def __init__(self,global_user=False):