DotNetPackageSettings.PushTagOnPublish property

Set if a git tag should be pushed when a NuGet package is published.

public Func<DotNetPackageInfo, string?>? PushTagOnPublish { get; set; }

Remarks

The delegate calculates the name of the tag from the package information, e.g. x => $"nuget.{x.Version}".

See Also