Owen-CH-Leung commented on code in PR #14636:
URL: https://github.com/apache/kafka/pull/14636#discussion_r1372728989


##########
release.py:
##########
@@ -491,6 +491,25 @@ def command_release_announcement_email():
 Do you have all of of these setup? (y/n): """ % (PREFS_FILE, json.dumps(prefs, 
indent=2))):
     fail("Please try again once you have all the prerequisites ready.")
 
+apache_id = sanitize_input("Please enter your apache-id: ")
+
+print("Begin to check if you have met all the pre-requisites for the release 
process")
+test_maven = cmd_output("mvn -v")
+if "Apache Maven" in test_maven:
+    print("Pre-requisite met: You have maven cli in place")
+else:
+    fail("Pre-requisite not met: You need to install maven CLI")

Review Comment:
   Thanks. I added try catch block and it should now exit nicely when any 
pre-requitsites were not met. Can you try again ? Let me know.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to