App Upgrade - Stable or Latest Version?

When you perform an app upgrade… What version of the copied app are you getting?
The stable version or the latest version?