Refresh version value in memory.
Fix pre-release auto-incrementation.