insert ~ before alpha part in version string