fixing release so ppl like me can do it
This commit is contained in:
parent
666fd5a490
commit
565764a629
3 changed files with 6 additions and 3 deletions
|
@ -66,7 +66,7 @@ def bump(changelog, version):
|
||||||
continue
|
continue
|
||||||
if CHANGELOG_ERROR_RE.search(line):
|
if CHANGELOG_ERROR_RE.search(line):
|
||||||
raise Exception(
|
raise Exception(
|
||||||
'Failed to parse {}: {}'.format(filename, 'unexpected section header found'))
|
'Failed to parse {}: {}'.format(changelog, 'unexpected section header found'))
|
||||||
unreleased.append(line)
|
unreleased.append(line)
|
||||||
|
|
||||||
today = datetime.datetime.today()
|
today = datetime.datetime.today()
|
||||||
|
|
|
@ -173,8 +173,7 @@ def check_bumpversion():
|
||||||
|
|
||||||
def get_part(args, name):
|
def get_part(args, name):
|
||||||
if name == 'lbry-web-ui':
|
if name == 'lbry-web-ui':
|
||||||
part = getattr(args, 'ui_part')
|
return args.ui_part or args.lbry_part
|
||||||
return part or args.lbry_part
|
|
||||||
else:
|
else:
|
||||||
return getattr(args, name + '_part')
|
return getattr(args, name + '_part')
|
||||||
|
|
||||||
|
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
GitPython==2.1.1
|
||||||
|
PyGithub==1.32
|
||||||
|
requests==2.13.0
|
||||||
|
git+https://github.com/lbryio/bumpversion.git
|
Loading…
Reference in a new issue