Skip to content

Conversation

@TravisEz13
Copy link
Member

get PowerShellGet from the PowerShell Gallery as this is the production location of the module and more reliable than myget

build.psm1 Outdated
# PowerShellGet depends on PackageManagement module, so PackageManagement module will be installed with the PowerShellGet module.
'PowerShellGet'
)
) -SourceLocation "https://www.powershellgallery.com/api/v2/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This call to Restore-PSModule can be combined with the call at line # 607. The name is an array.

Restore-PSModule -Destination $modulesDir -Name @( 
         'Microsoft.PowerShell.Archive','PowerShellGet'
     ) -SourceLocation "https://www.powershellgallery.com/api/v2/"

@daxian-dbw daxian-dbw merged commit 3c7cd11 into PowerShell:master Nov 15, 2017
@TravisEz13 TravisEz13 deleted the get_powershellget_from_gallery branch November 15, 2017 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants