Do a version check before to make the release

Related to #400