apply version in mock build