Update version_check.sh and fix '--release=all'