fixing release so ppl like me can do it

This commit is contained in:
Alex Grintsvayg 2017-03-02 23:14:48 -05:00
parent 666fd5a490
commit 565764a629
3 changed files with 6 additions and 3 deletions

View file

@ -66,7 +66,7 @@ def bump(changelog, version):
continue
if CHANGELOG_ERROR_RE.search(line):
raise Exception(
'Failed to parse {}: {}'.format(filename, 'unexpected section header found'))
'Failed to parse {}: {}'.format(changelog, 'unexpected section header found'))
unreleased.append(line)
today = datetime.datetime.today()

View file

@ -173,8 +173,7 @@ def check_bumpversion():
def get_part(args, name):
if name == 'lbry-web-ui':
part = getattr(args, 'ui_part')
return part or args.lbry_part
return args.ui_part or args.lbry_part
else:
return getattr(args, name + '_part')

4
requirements.txt Normal file
View file

@ -0,0 +1,4 @@
GitPython==2.1.1
PyGithub==1.32
requests==2.13.0
git+https://github.com/lbryio/bumpversion.git