Update BuildGeneratorEditorWindow.cs
This commit is contained in:
parent
07b34535fb
commit
b52769443e
@ -50,20 +50,22 @@ public class BuildGeneratorEditorWindow : EditorWindow
|
||||
EditorGUILayout.Space();
|
||||
if (GUILayout.Button($"Push All")) { GitProcess.Push(); GitProcess.PushTags(); }
|
||||
|
||||
// EditorGUILayout.BeginHorizontal();
|
||||
// if (IncrementButton("Major", versionDefinition.IncreaseMajor()))
|
||||
// CommitVersion(versionDefinition.IncreaseMajor());
|
||||
EditorGUILayout.Space();
|
||||
EditorGUILayout.LabelField("Force New Version");
|
||||
EditorGUILayout.BeginHorizontal();
|
||||
if (IncrementButton("Major", versionDefinition.IncreaseMajor()))
|
||||
CommitVersion(versionDefinition.IncreaseMajor());
|
||||
|
||||
// if (IncrementButton("Minor", versionDefinition.IncreaseMinor()))
|
||||
// CommitVersion(versionDefinition.IncreaseMinor());
|
||||
if (IncrementButton("Minor", versionDefinition.IncreaseMinor()))
|
||||
CommitVersion(versionDefinition.IncreaseMinor());
|
||||
|
||||
// if (IncrementButton("Patch", versionDefinition.IncreasePatch()))
|
||||
// CommitVersion(versionDefinition.IncreasePatch());
|
||||
if (IncrementButton("Patch", versionDefinition.IncreasePatch()))
|
||||
CommitVersion(versionDefinition.IncreasePatch());
|
||||
|
||||
// if (IncrementButton("Release Candidate", versionDefinition.IncreaseReleaseCandidate()))
|
||||
// CommitVersion(versionDefinition.IncreaseReleaseCandidate());
|
||||
if (IncrementButton("Release Candidate", versionDefinition.IncreaseReleaseCandidate()))
|
||||
CommitVersion(versionDefinition.IncreaseReleaseCandidate());
|
||||
|
||||
// EditorGUILayout.EndHorizontal();
|
||||
EditorGUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
private void CommitVersion(VersionDefinition versionDefinition)
|
||||
|
Loading…
x
Reference in New Issue
Block a user