check the version of flex
add auto check the version and git auto add and push