aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2011-10-17 09:29:46 -0400
committerJason R. Coombs <jaraco@jaraco.com>2011-10-17 09:29:46 -0400
commit542d7cfcc6866b5a886550a7fdf2801abea0242f (patch)
tree5537376ec4112a61a8034b951f2341f0520be89b /release.py
parent45f43d4ada8edfdc4f99d36531ff44ff22057800 (diff)
downloadexternal_python_setuptools-542d7cfcc6866b5a886550a7fdf2801abea0242f.tar.gz
external_python_setuptools-542d7cfcc6866b5a886550a7fdf2801abea0242f.tar.bz2
external_python_setuptools-542d7cfcc6866b5a886550a7fdf2801abea0242f.zip
Adding a prompt to remind that tests should pass before release.
--HG-- branch : distribute extra : rebase_source : 3c51eb5782aa845d829066c84b8c5d94a5c272ca
Diffstat (limited to 'release.py')
-rw-r--r--release.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release.py b/release.py
index eab2dc8a..385d400e 100644
--- a/release.py
+++ b/release.py
@@ -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])