prepareNextVersion