Skip to content

Push command-line should have an option to wait until the package is publicly available #14618

@jeffkl

Description

@jeffkl

NuGet Product(s) Affected

dotnet.exe, NuGet.exe

Current Behavior

dotnet nuget push returns as soon as a package is pushed to the server.

Desired Behavior

In automated workflows, packages are pushed. In some cases, it would be nice if the push command also had a --wait argument so that the process checked with the feed until its passed all validation.

This could be especially helpful for MCP server pushes where a pipeline will push a package and then publish to an MCP registry. Publishing will fail if the NuGet package is unavailable so each individual person would need to implement some sort of mechanism to wait for the package to be available or just have two different pipelines.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Type:Feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions