Generate correct full version for versioned packages