File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ $env:PSModulePath += "$([System.IO.Path]::PathSeparator)$($pwd.Path)"
9
9
10
10
11
11
# Register Powershell repository; needed for publishing
12
- $repositoryName = " poweshell -poc"
12
+ $repositoryName = " powershell -poc"
13
13
$repositoryUri = " https://pkgs.dev.azure.com/andyfeller/powershell-poc/_packaging/powershell-poc/nuget/v2"
14
14
15
15
Write-Output (@'
@@ -18,4 +18,5 @@ Registering PS repository
18
18
URI: {1}
19
19
'@ -f $repositoryName , $repositoryUri )
20
20
21
- Register-PSRepository - Name $repositoryName - SourceLocation $repositoryUri - PublishLocation $repositoryUri
21
+ # Register-PSRepository -Name $repositoryName -SourceLocation $repositoryUri -PublishLocation $repositoryUri
22
+ Register-PackageSource - Name $repositoryName - Location $repositoryUri - Trusted - SkipValidate - ProviderName NuGet
You can’t perform that action at this time.
0 commit comments