Commit 542d7cfc authored by Jason R. Coombs's avatar Jason R. Coombs

Adding a prompt to remind that tests should pass before release.

--HG--
branch : distribute
extra : rebase_source : 3c51eb5782aa845d829066c84b8c5d94a5c272ca
parent 45f43d4a
......@@ -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])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment