Skip to content

Commit

Permalink
accept "pre" subcommand without pre-release words (means increment pr…
Browse files Browse the repository at this point in the history
…e-release tag)
  • Loading branch information
kyoh86 committed Dec 19, 2024
1 parent 33ef2f1 commit 863685f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
for _, c := range []*kingpin.CmdClause{majorCmd, minorCmd, patchCmd} {
c.Flag("pre", "Update pre-release notation. It accepts only alphanumeric or numeric identities.").SetValue(&pre)
}
preCmd.Arg("pre", "Pre-release notation. It accepts only alphanumeric or numeric identities.").Required().SetValue(&pre)
preCmd.Arg("pre", "Pre-release notation. It accepts only alphanumeric or numeric identities.").SetValue(&pre)

var build internal.BuildFlag
for _, c := range []*kingpin.CmdClause{majorCmd, minorCmd, patchCmd, preCmd, releaseCmd} {
Expand Down

0 comments on commit 863685f

Please sign in to comment.