Skip to content

Commit

Permalink
Update azure-pipelines-pullrequests.yml
Browse files Browse the repository at this point in the history
UseGitVersion is obsolete and only supports .netcoreapp3.1, which is not supported on windows-latest due to EOL support.  New approach is gittools on VS Marketplace.
  • Loading branch information
jzabroski committed Oct 4, 2023
1 parent b772182 commit 028340e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions azure-pipelines-pullrequests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ variables:
steps:
- task: NuGetToolInstaller@1

- task: UseGitVersion@5
displayName: 'UseGitVersion (preview)'
- task: gitversion/setup@0
displayName: 'Install GitVersion (using GitTools 0.10.2.23031113 or later)'
inputs:
versionSpec: '5.1.3'
versionSpec: '5.12'
includePrerelease: true

- task: gitversion/execute@0
displayName: 'Execute GitVersion (using GitTools 0.10.2.23031113 or later)'
inputs:
updateAssemblyInfo: false
env:
BUILD_BUILDNUMBER: $(GitVersion.NuGetVersionV2)
Expand Down

0 comments on commit 028340e

Please sign in to comment.