File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1010- task : gittools.gitversion.gitversion-task.GitVersion@3
1111 displayName : GitVersion
1212
13- # # As long as we're calling build.ps1, we don't need to bootstrap separately
14- # - powershell: .\bootstrap.ps1
15- # displayName: 'Restore pre-requisites'
13+ # As long as we're calling build.ps1, we don't need to bootstrap separately
14+ - powershell : .\bootstrap.ps1
15+ displayName : ' Restore pre-requisites'
1616
1717- powershell : .\build.ps1 -OutputDirectory $(Build.ArtifactStagingDirectory)\$(Build.DefinitionName) -Version $(GitVersion.AssemblySemVer) -Verbose
1818 displayName : ' Run build script'
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Push-Location $PSScriptRoot -StackName bootstrap-stack
1010# # This would probably work, if the default gallery was trusted ...
1111# Install-Module Pester -RequiredVersion 4.4.0 -Scope CurrentUser -Repository PSGallery -SkipPublisherCheck
1212# Install-Module Configuration -RequiredVersion 1.3.1 -Scope CurrentUser -Repository PSGallery -SkipPublisherCheck
13- if (! (Get-Module PSDepends - ListAvailable)) {
13+ if (! (Get-Module PSDepend - ListAvailable)) {
1414 $Policy = (Get-PSRepository PSGallery).InstallationPolicy
1515 try {
1616 Set-PSRepository PSGallery - InstallationPolicy Trusted
@@ -36,7 +36,7 @@ if (!(Get-Module PSDepends -ListAvailable)) {
3636try {
3737 Write-Verbose " Updating dependencies"
3838 Import-Module PSDepend - ErrorAction Stop
39- Invoke-PSDepend - Import - Force - ErrorAction Stop
39+ Invoke-PSDepend - Import - Force - ErrorAction Stop - Verbose
4040} catch {
4141 Write-Warning " Unable to restore dependencies. Please review errors:"
4242 throw
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ $null = $PSBoundParameters.Remove('InstallToolScope')
2222$ErrorActionPreference = " Stop"
2323Push-Location $PSScriptRoot - StackName BuildBuildModule
2424try {
25- & " $PSScriptRoot \bootstrap.ps1 " - Scope $InstallToolScope
25+ Import-Module Configuration
2626
2727 # Build ModuleBuilder with ModuleBuilder:
2828 Write-Verbose " Compiling ModuleBuilderBootstrap module"
You can’t perform that action at this time.
0 commit comments