Skip to content

How do we push nuget package and symbols package in oe go using pattern? #35193

@dazinator

Description

@dazinator

There is a new symbols package format called .snupkg
I can't see any examples of pushing a nuget package (.nupkg) and its symbols package (.snupkg) in one push command. Is this possible?

I think it would be useful to update this document with an example fo that,
I can see you can use glob patterns to push multiple packages but I am not sure what pattern syntax is supported - or how to specify multiple patterns.

Consider the follwing example:

dotnet nuget push "**/*.nupkg"

How do I make that also push the .snupkg file sitting alongside?
I want to use a pattern to do this based ont he file extension so that I don't have to hardcode a package name - meaning this set up will work in a wide range of situations / different projects without constant tweaking.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 96534

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions