Add post version calculation logic