Skip to content

Commit

Permalink
docs: Update private-packages.md nuget section (#16942)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipAbed committed Aug 12, 2022
1 parent b24d796 commit 8f54847
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/usage/getting-started/private-packages.md
Expand Up @@ -322,7 +322,18 @@ npmRegistries:
### nuget

For each known NuGet registry, Renovate searches for `hostRules` with `hostType=nuget` and matching host.
For those found, a command similar to the following is run: `dotnet nuget add source ${registryInfo.feedUrl} --configfile ${nugetConfigFile} --username ${username} --password ${password} --store-password-in-clear-text`
For those found, a command like the following is run: `dotnet nuget add source ${registryInfo.feedUrl} --configfile ${nugetConfigFile} --username ${username} --password ${password} --store-password-in-clear-text`.

```js
hostRules: [
{
matchHost: 'https://pkgs.dev.azure.com/<org>/',
hostType: 'nuget',
username: 'user', // doesn't matter for azure
password: '<PAT>',
},
];
```

### poetry

Expand Down

0 comments on commit 8f54847

Please sign in to comment.