Skip to content

Commit

Permalink
Updated fabfile to use CHANGES.md instead of CHANGES.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt committed May 22, 2017
1 parent b513c16 commit 5369c9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ def release_check():
if 'a' in env.version:
print("WARNING: alpha release %s" % env.version)

# hacky CHANGES.rst check
with open("CHANGES.rst") as f:
# hacky CHANGES.md check
with open("CHANGES.md") as f:
raw_changes = f.read()
assert "%s\n---" % env.version in raw_changes, \
"The current version %s is not in CHANGES.rst" % env.version
"The current version %s is not in CHANGES.md" % env.version
if env.version in tags:
raise Exception("Already released v. %r" % env.version)

Expand Down

0 comments on commit 5369c9a

Please sign in to comment.