The Set Build Version Action allows you to modify the Build Version during the build.
Value
The build version expression. This field allows you to use Query Syntax in order to set dynamic values in your version string. The result of this expression can be any string to a maximum of 128 characters. By convention, this would be Major.Minor.Build.Revision (for .Net) or Major.Minor.Release.Build (for native apps).
...