diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2011-10-17 09:29:46 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2011-10-17 09:29:46 -0400 |
| commit | 542d7cfcc6866b5a886550a7fdf2801abea0242f (patch) | |
| tree | 5537376ec4112a61a8034b951f2341f0520be89b | |
| parent | 45f43d4ada8edfdc4f99d36531ff44ff22057800 (diff) | |
| download | python-setuptools-git-542d7cfcc6866b5a886550a7fdf2801abea0242f.tar.gz | |
Adding a prompt to remind that tests should pass before release.
--HG--
branch : distribute
extra : rebase_source : 3c51eb5782aa845d829066c84b8c5d94a5c272ca
| -rw-r--r-- | release.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,12 @@ def do_release(): print("Please do that") raise SystemExit(1) + res = raw_input('Have you or has someone verified that the tests ' + 'pass on this revision? ') + if not res.lower().startswith('y'): + print("Please do that") + raise SystemExit(2) + subprocess.check_call(['hg', 'tag', VERSION]) subprocess.check_call(['hg', 'update', VERSION]) |
