Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Nov 4, 2024
1 parent 8eb7db0 commit fbcff7c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/Nuke.Common/Tools/MinVer/MinVer.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static IReadOnlyCollection<Output> MinVer(ArgumentStringHandler arguments
/// <ul>
/// <li><c>--auto-increment</c> via <see cref="MinVerSettings.AutoIncrement"/></li>
/// <li><c>--build-metadata</c> via <see cref="MinVerSettings.BuildMetadata"/></li>
/// <li><c>--default-pre-release-identifiers</c> via <see cref="MinVerSettings.DefaultPreReleaseIdentifiers"/></li>
/// <li><c>--default-pre-release-phase</c> via <see cref="MinVerSettings.DefaultPreReleasePhase"/></li>
/// <li><c>--minimum-major-minor</c> via <see cref="MinVerSettings.MinimumMajorMinor"/></li>
/// <li><c>--tag-prefix</c> via <see cref="MinVerSettings.TagPrefix"/></li>
/// <li><c>--verbosity</c> via <see cref="MinVerSettings.Verbosity"/></li>
Expand All @@ -77,7 +77,7 @@ public static (MinVer Result, IReadOnlyCollection<Output> Output) MinVer(MinVerS
/// <ul>
/// <li><c>--auto-increment</c> via <see cref="MinVerSettings.AutoIncrement"/></li>
/// <li><c>--build-metadata</c> via <see cref="MinVerSettings.BuildMetadata"/></li>
/// <li><c>--default-pre-release-identifiers</c> via <see cref="MinVerSettings.DefaultPreReleaseIdentifiers"/></li>
/// <li><c>--default-pre-release-phase</c> via <see cref="MinVerSettings.DefaultPreReleasePhase"/></li>
/// <li><c>--minimum-major-minor</c> via <see cref="MinVerSettings.MinimumMajorMinor"/></li>
/// <li><c>--tag-prefix</c> via <see cref="MinVerSettings.TagPrefix"/></li>
/// <li><c>--verbosity</c> via <see cref="MinVerSettings.Verbosity"/></li>
Expand All @@ -96,7 +96,7 @@ public static (MinVer Result, IReadOnlyCollection<Output> Output) MinVer(Configu
/// <ul>
/// <li><c>--auto-increment</c> via <see cref="MinVerSettings.AutoIncrement"/></li>
/// <li><c>--build-metadata</c> via <see cref="MinVerSettings.BuildMetadata"/></li>
/// <li><c>--default-pre-release-identifiers</c> via <see cref="MinVerSettings.DefaultPreReleaseIdentifiers"/></li>
/// <li><c>--default-pre-release-phase</c> via <see cref="MinVerSettings.DefaultPreReleasePhase"/></li>
/// <li><c>--minimum-major-minor</c> via <see cref="MinVerSettings.MinimumMajorMinor"/></li>
/// <li><c>--tag-prefix</c> via <see cref="MinVerSettings.TagPrefix"/></li>
/// <li><c>--verbosity</c> via <see cref="MinVerSettings.Verbosity"/></li>
Expand Down Expand Up @@ -124,7 +124,7 @@ public partial class MinVerSettings : ToolSettings
public override Action<ToolSettings, IProcess> ProcessExitHandler => base.ProcessExitHandler ?? MinVerTasks.MinVerExitHandler;
public virtual MinVerVersionPart AutoIncrement { get; internal set; }
public virtual string BuildMetadata { get; internal set; }
public virtual string DefaultPreReleaseIdentifiers { get; internal set; }
public virtual string DefaultPreReleasePhase { get; internal set; }
public virtual string MinimumMajorMinor { get; internal set; }
public virtual string TagPrefix { get; internal set; }
public virtual MinVerVerbosity Verbosity { get; internal set; }
Expand All @@ -134,7 +134,7 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments)
arguments
.Add("--auto-increment {value}", AutoIncrement)
.Add("--build-metadata {value}", BuildMetadata)
.Add("--default-pre-release-identifiers {value}", DefaultPreReleaseIdentifiers)
.Add("--default-pre-release-phase {value}", DefaultPreReleasePhase)
.Add("--minimum-major-minor {value}", MinimumMajorMinor)
.Add("--tag-prefix {value}", TagPrefix)
.Add("--verbosity {value}", Verbosity);
Expand Down Expand Up @@ -215,25 +215,25 @@ public static T ResetBuildMetadata<T>(this T toolSettings) where T : MinVerSetti
return toolSettings;
}
#endregion
#region DefaultPreReleaseIdentifiers
#region DefaultPreReleasePhase
/// <summary>
/// <p><em>Sets <see cref="MinVerSettings.DefaultPreReleaseIdentifiers"/></em></p>
/// <p><em>Sets <see cref="MinVerSettings.DefaultPreReleasePhase"/></em></p>
/// </summary>
[Pure]
public static T SetDefaultPreReleaseIdentifiers<T>(this T toolSettings, string defaultPreReleaseIdentifiers) where T : MinVerSettings
public static T SetDefaultPreReleasePhase<T>(this T toolSettings, string defaultPreReleasePhase) where T : MinVerSettings
{
toolSettings = toolSettings.NewInstance();
toolSettings.DefaultPreReleaseIdentifiers = defaultPreReleaseIdentifiers;
toolSettings.DefaultPreReleasePhase = defaultPreReleasePhase;
return toolSettings;
}
/// <summary>
/// <p><em>Resets <see cref="MinVerSettings.DefaultPreReleaseIdentifiers"/></em></p>
/// <p><em>Resets <see cref="MinVerSettings.DefaultPreReleasePhase"/></em></p>
/// </summary>
[Pure]
public static T ResetDefaultPreReleaseIdentifiers<T>(this T toolSettings) where T : MinVerSettings
public static T ResetDefaultPreReleasePhase<T>(this T toolSettings) where T : MinVerSettings
{
toolSettings = toolSettings.NewInstance();
toolSettings.DefaultPreReleaseIdentifiers = null;
toolSettings.DefaultPreReleasePhase = null;
return toolSettings;
}
#endregion
Expand Down

0 comments on commit fbcff7c

Please sign in to comment.