-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to include repository url and type in generated nuspec file #1624
Comments
@partlythomas we have the https://learn.microsoft.com/en-us/nuget/reference/nuspec#repository |
Good point, I missed that - Yes I want that to connect to the repository element - If it makes sense. The The end goal is that I want a published module or script to automatically link to a repository when using GitHub Packages NuGet feed as the destination repository. I am not fully sure if linking the |
I was able to create recreate this,
We can either reuse |
Summary of the new feature / enhancement
It should be possible somehow in the Publish-PSResource cmdlet to have the
repository
element with attributestype
andurl
defined in the generated Nuspec file in order to link a package to a repository in GitHub during publishing of a package. Similar to howRepositoryUrl
is used when pushing a package with the dotnet cli and a csproj file.As far as I can tell, this linking of a package to a repository must be done manually after publishing a package today.
References:
https://docs.github.com/en/[email protected]/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry
https://devblogs.microsoft.com/nuget/introducing-source-code-link-for-nuget-packages/
Proposed technical implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: