set the newVersion with semver