New answers tagged

1

I had a similar need and I did it as below. In my case it is archived and published differently but I think you get the main idea. - task: PowerShell@2 displayName: 'Get version number' inputs: targetType: 'inline' script: | $VERSION=([xml](Get-Content **\MyApp.csproj)).Project.PropertyGroup.Version Write-...


Top 50 recent answers are included