I would like to update the Build.BuildNumber variable from a powershell script as a build step.
I've tried:
Write-Host "##vso[task.setvariable variable=BUILD_BUILDNUMBER]1.2.3.4"
and
Write-Host "##vso[task.setvariable variable=Build.BuildNumber]1.2.3.4"
This has not worked.