Skip to content

Commit 74e4535

Browse files
committed
Use PSResourceGet actual cmdlet name
1 parent 12395cb commit 74e4535

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tool/setupReleaseTools.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ param(
66
[string]$Token
77
)
88

9-
Write-Host "Install and import PowerShell modules"
10-
Set-PSResourceRepository -Name PSGallery -Trusted | Out-Null
11-
Install-Module -Name PowerShellForGitHub -Scope CurrentUser -Force
9+
Write-Host 'Install and import PowerShell modules'
10+
$null = Set-PSResourceRepository -Name PSGallery -Trusted
11+
Install-PSResource -Repository 'PSGallery' -Name 'PowerShellForGitHub' -Scope 'CurrentUser' -Force
1212
Import-Module $PSScriptRoot/releaseTools.psm1
1313

1414
Write-Host "Setup authentication"

0 commit comments

Comments
 (0)