feat: make release use wizard mode

Some bugs squashed while testing this extensively.
This commit is contained in:
2021-11-06 22:36:01 +01:00
parent f9726b6643
commit 63d9703d9d
4 changed files with 188 additions and 54 deletions

View File

@ -7,6 +7,7 @@ import (
var Major bool
var MajorFlag = &cli.BoolFlag{
Name: "major",
Usage: "Increase the major part of the version (new functionality, backwards incompatible, x of x.y.z)",
Value: false,
Aliases: []string{"ma", "x"},
Destination: &Major,
@ -15,6 +16,7 @@ var MajorFlag = &cli.BoolFlag{
var Minor bool
var MinorFlag = &cli.BoolFlag{
Name: "minor",
Usage: "Increase the minor part of the version (new functionality, backwards compatible, y of x.y.z)",
Value: false,
Aliases: []string{"mi", "y"},
Destination: &Minor,
@ -23,6 +25,7 @@ var MinorFlag = &cli.BoolFlag{
var Patch bool
var PatchFlag = &cli.BoolFlag{
Name: "patch",
Usage: "Increase the patch part of the version (bug fixes, backwards compatible, z of x.y.z)",
Value: false,
Aliases: []string{"p", "z"},
Destination: &Patch,