forked from LBRYCommunity/lbry-sdk
fix set_build
This commit is contained in:
parent
8139f93ff1
commit
ba57af5502
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ def main():
|
||||||
def get_build():
|
def get_build():
|
||||||
try:
|
try:
|
||||||
tag = subprocess.check_output(['git', 'describe', '--exact-match', '--all']).strip()
|
tag = subprocess.check_output(['git', 'describe', '--exact-match', '--all']).strip()
|
||||||
if re.match('v\d+\.\d+\.\d+rc\d+', tag):
|
if re.match('v\d+\.\d+\.\d+rc\d+', tag.decode()):
|
||||||
return 'rc'
|
return 'rc'
|
||||||
else:
|
else:
|
||||||
return 'release'
|
return 'release'
|
||||||
|
|
Loading…
Reference in a new issue