Skip to content

Commit

Permalink
Merge pull request #132 from concourse/allow-build-bumping-only
Browse files Browse the repository at this point in the history
Allow `puts` that only bump the build label
  • Loading branch information
Rui Yang authored Jun 29, 2022
2 parents ff0b158 + b37c978 commit d498338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion out/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d498338

Please sign in to comment.