File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ $ErrorActionPreference = 'Stop'
6
6
Set-PSRepository - Name PSGallery - InstallationPolicy Trusted | Out-Null
7
7
if ($IsWindows -or $PSVersionTable.PSVersion.Major -lt 6 ) {
8
8
# We rely on PowerShellGet's -AllowPrerelease which is in PowerShellGet 1.6 so we need to update PowerShellGet.
9
- Get-Module PowerShellGet, PackageManagement | Remove-Module - Force - Verbose
10
- powershell - Command { Install-Module - Name PowerShellGet - MinimumVersion 1.6 - Force - Confirm: $false - Verbose }
11
- powershell - Command { Install-Module - Name PackageManagement - MinimumVersion 1.1 .7.0 - Force - Confirm: $false - Verbose }
9
+ Get-Module PowerShellGet, PackageManagement | Remove-Module - Force
10
+ powershell - Command { Install-Module - Name PowerShellGet - MinimumVersion 1.6 - Force }
11
+ powershell - Command { Install-Module - Name PackageManagement - MinimumVersion 1.1 .7.0 - Force }
12
12
Import-Module - Name PowerShellGet - MinimumVersion 1.6 - Force
13
13
Import-Module - Name PackageManagement - MinimumVersion 1.1 .7.0 - Force
14
14
}
@@ -17,7 +17,7 @@ if ($IsWindows -or $PSVersionTable.PSVersion.Major -lt 6) {
17
17
Update-Help - Force - ErrorAction SilentlyContinue
18
18
19
19
# Needed for build and docs gen.
20
- Install-Module InvokeBuild - MaximumVersion 5.1 .0 - Scope CurrentUser
21
- Install-Module PlatyPS - RequiredVersion 0.9 .0 - Scope CurrentUser
20
+ Install-Module - Name InvokeBuild - MaximumVersion 5.1 .0 - Scope CurrentUser - Force
21
+ Install-Module - Name PlatyPS - RequiredVersion 0.9 .0 - Scope CurrentUser - Force
22
22
23
23
Invoke-Build - Configuration Release
You can’t perform that action at this time.
0 commit comments