Skip to content

Add repository/commit attribute to nuspec format #6547

@emgarten

Description

@emgarten

Nuspecs currently include repository type and url, this should be extended to include the commit hash.

Example:

    <repository type="git"
               url="https://github.com/NuGet/NuGet.Client"
               commit="17caacc71d2cfa40f6ce10d4f0bbec8ea68f4cda" />

Pack should be updated to allow passing this in from a property in the same way the repo url is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Functionality:PackPriority:1High priority issues that must be resolved in the current sprint.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions