Update regex to support GitLab

This commit is contained in:
Layla 2020-02-06 13:08:52 -05:00
parent 085b20a10f
commit be9ad8b05d

View File

@ -20,7 +20,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):