Skip to content

Commit 863685f

Browse files
committed
accept "pre" subcommand without pre-release words (means increment pre-release tag)
1 parent 33ef2f1 commit 863685f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func main() {
5757
for _, c := range []*kingpin.CmdClause{majorCmd, minorCmd, patchCmd} {
5858
c.Flag("pre", "Update pre-release notation. It accepts only alphanumeric or numeric identities.").SetValue(&pre)
5959
}
60-
preCmd.Arg("pre", "Pre-release notation. It accepts only alphanumeric or numeric identities.").Required().SetValue(&pre)
60+
preCmd.Arg("pre", "Pre-release notation. It accepts only alphanumeric or numeric identities.").SetValue(&pre)
6161

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

0 commit comments

Comments
 (0)