Skip to content

Commit

Permalink
move gitversion setup
Browse files Browse the repository at this point in the history
  • Loading branch information
FISHMANPET committed Apr 22, 2021
1 parent a3e84a8 commit dfff813
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PSModules/stages/build-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ stages:
jobs:
- job: Build
steps:
- task: gitversion/setup@0
inputs:
versionSpec: '5.x'
# https://github.com/PoshCode/Azure-Pipelines/blob/master/Install-RequiredModule-step.yml
- powershell: |
# Apparently, Install-Script isn't good enough except on Windows?
Expand All @@ -23,9 +26,6 @@ stages:
"mode: Mainline" | Set-Content '$(Build.SourcesDirectory)/GitVersion.yml'
}
displayName: Create gitversion.yml if none exists
- task: gitversion/setup@0
inputs:
versionSpec: '5.x'
- task: gitversion/execute@0
- powershell: |
gci env:
Expand Down

0 comments on commit dfff813

Please sign in to comment.