Currently we do have the <RepositoryUrl> in our packages' .csproj
However, we may sometime want to to deploy to a difference GitHub package source (we have a few difference GitHub accounts) or maybe missing the <RepositoryUrl>
When it's missing, the following log will be shown and fail the push
Project is missing a valid <RepositoryUrl /> XML element value: . Package filename: /src/PackageInGithubA.1.5.14.nupkg Please use --repository option to set a valid upstream GitHub repository. Additional details are available at: https://docs.microsoft.com/en-us/dotnet/core/tools/csproj#repositoryurl
It would be nice if there is an option to specify the package source explicitly, e.g.
gpr push "PackageInGithubA.1.5.14.nupkg" --source https://nuget.pkg.github.com/GithubB/index.json --api-key GITHUB_B_ACCESS_TOKEN
Currently we do have the
<RepositoryUrl>in our packages'.csprojHowever, we may sometime want to to deploy to a difference GitHub package source (we have a few difference GitHub accounts) or maybe missing the
<RepositoryUrl>When it's missing, the following log will be shown and fail the push
It would be nice if there is an option to specify the package source explicitly, e.g.