Class NuGetPush
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Publishes a package and optional symbols.
public sealed record NuGetPush : NuGetConfiguredCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetConfiguredCommand>, IEquatable<NuGetPush>Inheritance
Implements
Properties
AllowInsecureConnections
Allows unencrypted HTTP package sources.
public bool AllowInsecureConnections { get; init; }Property Value
ApiKey
The redacted API key sent to the package source.
public Secret? ApiKey { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
DisableBuffering
Disables request buffering while publishing.
public bool DisableBuffering { get; init; }Property Value
NoServiceEndpoint
Uses the source URL exactly instead of appending the NuGet service endpoint.
public bool NoServiceEndpoint { get; init; }Property Value
NoSymbols
Skips automatic publication of a matching symbols package.
public bool NoSymbols { get; init; }Property Value
Package
The package path or wildcard pattern to publish.
public string? Package { get; init; }Property Value
SkipDuplicate
Treats an already published package version as success.
public bool SkipDuplicate { get; init; }Property Value
Source
The package source name, path, or URL.
public string? Source { get; init; }Property Value
SymbolApiKey
The redacted API key sent to the symbols source.
public Secret? SymbolApiKey { get; init; }Property Value
SymbolSource
The source that receives symbols packages.
public string? SymbolSource { get; init; }Property Value
Timeout
The server timeout for the push operation.
public TimeSpan? Timeout { get; init; }