bugfix
This commit is contained in:
@ -39,7 +39,7 @@ class SemVer(object):
|
|||||||
b = subprocess.Popen(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], stdout=subprocess.PIPE,
|
b = subprocess.Popen(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], stdout=subprocess.PIPE,
|
||||||
cwd='.')
|
cwd='.')
|
||||||
message = str(p.stdout.read())
|
message = str(p.stdout.read())
|
||||||
br = b.stdout.read().decode('utf-8').rstrip()
|
branch = b.stdout.read().decode('utf-8').rstrip()
|
||||||
print('Main branch is ' + branch)
|
print('Main branch is ' + branch)
|
||||||
matches = self.GET_COMMIT_MESSAGE.search(message)
|
matches = self.GET_COMMIT_MESSAGE.search(message)
|
||||||
if matches:
|
if matches:
|
||||||
|
Reference in New Issue
Block a user