diff --git a/README.md b/README.md index 4dc832b..7529cd2 100644 --- a/README.md +++ b/README.md @@ -243,6 +243,8 @@ be one of: * Major version bump: version file = 1.2.4-SNAPSHOT, release version = 2.0.0 * Minor version bump: version file = 1.2.4-SNAPSHOT, release version = 1.3.0 * Promote snapshot: version file = 1.2.4-SNAPSHOT, release version = 1.2.4 +* `build_without_version`: *Optional.* Same as `pre_without_version` but for + build labels. ### Running the tests diff --git a/out/main.go b/out/main.go index fc2d97a..23d6051 100644 --- a/out/main.go +++ b/out/main.go @@ -56,7 +56,7 @@ func main() { if err != nil { fatal("setting version", err) } - } else if request.Params.Bump != "" || request.Params.Pre != "" { + } else if request.Params.Bump != "" || request.Params.Pre != "" || request.Params.Build != "" { bump := version.BumpFromParams( request.Params.Bump, request.Params.Pre,