-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Labels
Category:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFunctionality:PushPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Product:dotnet.exeTriage:NeedsMoreInfoType:BugType:Docs
Description
Details about Problem
I’m trying to use dotnet nuget push with *.nupkg and 1) the docs are wrong (I submitted a bug) 2) the source parameter seems to require a fully-qualified source and cannot use relative roots?
I’m doing this in CI and am trying to basically use “.” As the source directory but looks like the CLI treats this as too literally and doesn’t like that.
From conversation it appears it could be
https://github.com/NuGet/NuGet.Client/blob/65abcc61f73ab3d87928495f789ec74011edde7f/src/NuGet.Core/NuGet.Commands/Utility/PackageSourceProviderExtensions.cs#L47
Versus using RelativeOrAbsolute
Repro Steps
- Produce some nuget packages
- Using .NET SDK 3.1.402
- Open a terminal/CLI
- navigate to where the nuget packages are
- run
dotnet nuget push . *.nupkg
Metadata
Metadata
Assignees
Labels
Category:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFunctionality:PushPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Product:dotnet.exeTriage:NeedsMoreInfoType:BugType:Docs