mirror of https://github.com/apache/kafka.git
Check that the user doesn't have any oustanding diffs before starting the rest of the script
This commit is contained in:
parent
ff0b330070
commit
b559a61cbc
|
@ -146,6 +146,9 @@ Do you have all of of these setup? (y/n): """):
|
|||
|
||||
starting_branch = cmd_output('git rev-parse --abbrev-ref HEAD')
|
||||
|
||||
cmd("Verifying that you have no unstaged git changes", 'git diff --exit-code --quiet')
|
||||
cmd("Verifying that you have no staged git changes", 'git diff --cached --exit-code --quiet')
|
||||
|
||||
release_version = raw_input("Release version (without any RC info, e.g. 0.10.2.0): ")
|
||||
try:
|
||||
release_version_parts = release_version.split('.')
|
||||
|
|
Loading…
Reference in New Issue