1. Tarek Ziadé
  2. distribute


Jason R. Coombs  committed f4f68e7

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

  • Participants
  • Parent commits fe1efd1
  • Branches default

Comments (0)

Files changed (1)

File release.py

View file
  • Ignore whitespace
 		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])