Best approach to updating app version after build?

Another way is to generate the minor version number from the Git history. For example, run git describe or git rev-list --count HEAD, and capture the output. Or even use Nerdbank.GitVersioning. If you do one of these, then the automation won’t need to push the version numbers back to the repository, and the developers won’t need to merge those changes. On the other hand, the generated version numbers might increase faster than you’d like.