Browse Source

Fixed when release date is not today, The fails have no args.

and The 63 line expected 1 blank line.
pull/842/head
dongweiming 12 years ago
parent
commit
a05c403870
  1. 4
      scripts/make-release.py

4
scripts/make-release.py

@ -60,6 +60,7 @@ def parse_date(string):
def set_filename_version(filename, version_number, pattern):
changed = []
def inject_version(match):
before, old, after = match.groups()
changed.append(True)
@ -133,7 +134,8 @@ def main():
if version in tags:
fail('Version "%s" is already tagged', version)
if release_date.date() != date.today():
fail('Release date is not today (%s != %s)')
fail('Release date is not today (%s != %s)', release_date.date(),
date.today())
if not git_is_clean():
fail('You have uncommitted changes in git')

Loading…
Cancel
Save