replace _ with . in semver variable