Skip to content

Commit cd15fd0

Browse files
committed
Update azure-pipelines.yml: Migrate to newest GitTools version tasks
1 parent 192d433 commit cd15fd0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ stages:
6565
displayName: 'Create tag on GitHub and publish NuGet package'
6666

6767
steps:
68-
- task: GitVersion@5
69-
displayName: 'Run GitVersion'
68+
- task: gitversion/setup@0
69+
displayName: 'Install GitTools'
7070
inputs:
71-
runtime: 'core'
71+
versionSpec: '5.x'
72+
- task: gitversion/execute@0
73+
displayName: 'Calculate SemVer'
7274

7375
- script: dotnet pack Aquality.Selenium\src\Aquality.Selenium\Aquality.Selenium.csproj -c $(buildConfiguration) -p:Version=$(GitVersion.NuGetVersion) -o $(Build.ArtifactStagingDirectory)
7476
displayName: 'Pack to NuGet package'

0 commit comments

Comments
 (0)