forked from toolshed/abra
feat: make release use wizard mode
Some bugs squashed while testing this extensively.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user