From 565764a629b11b45bda7d365b9744865007fad0f Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 2 Mar 2017 23:14:48 -0500 Subject: [PATCH] fixing release so ppl like me can do it --- changelog.py | 2 +- release.py | 3 +-- requirements.txt | 4 ++++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 requirements.txt diff --git a/changelog.py b/changelog.py index 921106bf6..25d8ce1a4 100644 --- a/changelog.py +++ b/changelog.py @@ -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() diff --git a/release.py b/release.py index f30298aaa..d377a786a 100644 --- a/release.py +++ b/release.py @@ -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') diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..5c500193c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +GitPython==2.1.1 +PyGithub==1.32 +requests==2.13.0 +git+https://github.com/lbryio/bumpversion.git