diff --git a/tools/release_checks.pike b/tools/release_checks.pike
index 9413d843a43fa8c9bcab10732e5f7f6c867b0a4f..7500ed60f01b59d0c7b2547d304b1d2cd7a38d62 100644
--- a/tools/release_checks.pike
+++ b/tools/release_checks.pike
@@ -170,8 +170,12 @@ void assert_version() {
   if( v[0]!=__REAL_MAJOR__ || v[1]!=__REAL_MINOR__ ||
       v[2]!=__REAL_BUILD__ ) {
     write("You must be running the Pike you want to test.\n");
+    write("%d %d\n%d %d\n%d %d\n", v[0], __REAL_MAJOR__,
+          v[1], __REAL_MINOR__, v[2], __REAL_BUILD__);
     exit(1);
   }
+
+  write("\nRelease checks for "+version()+"\n\n");
 }
 
 int test_version() {