From dc3f1598a004287f2d62ed2e3c66e2a52d43286b Mon Sep 17 00:00:00 2001 From: Craig Gumbley Date: Thu, 4 Mar 2021 17:05:46 +0000 Subject: [PATCH] use latest git version task --- azure-pipelines.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7b83d8b..9784b28 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,10 +20,16 @@ variables: steps: -- task: gittools.gitversion-preview.gitversion-task.GitVersion@5 - displayName: GitVersion +- task: gitversion/setup@0 + displayName: Install GitVersion inputs: - configFilePath: GitVersion.yml + versionSpec: '5.x' + +- task: gitversion/execute@0 + displayName: Use GitVersion + inputs: + useConfigFile: true + configFilePath: 'GitVersion.yml' - task: Docker@1 displayName: Build image