Skip to content

Commit

Permalink
Merge pull request #22 from umn-microsoft-automation/fix-gitversion
Browse files Browse the repository at this point in the history
Move gitversion setup task because Install-RequiredModules because Install-RequiredModules was causing the gitversion setup task to fail
  • Loading branch information
FISHMANPET authored Apr 23, 2021
2 parents 6fcafbb + dfff813 commit 636b4f7
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 636b4f7

Please sign in to comment.