bugfix
This commit is contained in:
parent
68b04de276
commit
055d0101ca
@ -39,7 +39,7 @@ class SemVer(object):
|
||||
b = subprocess.Popen(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], stdout=subprocess.PIPE,
|
||||
cwd='.')
|
||||
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)
|
||||
matches = self.GET_COMMIT_MESSAGE.search(message)
|
||||
if matches:
|
||||
|
Loading…
Reference in New Issue
Block a user