Hi,
I made a write up of two ways to modify ProjectVersion whenever your project builds.
First Way
Unreal Engine Commandlet in C++. Invoked as a PreBuildStep. Also, SCC integration.
Second Way
Direct update of ProjectVersion in DefaultGame.ini by a small C# app. Invoked as a PreBuildStep. Also demonstrates using p4api.net, an API callable from .NET to interact with perforce.
Written up here:
Posting this in case is helps anyone out, who’s looking to do the same thing. Is this supported somehow in UE, and I’ve just missed it? I searched around and didn’t find any official support for it.