Skip to content

Commit c98f07a

Browse files
committed
pr changes
1 parent 09a96df commit c98f07a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ major: $(BUMP_CFG)
179179

180180
# run bumpversion with replacement of the release time value within its config for auto-update on future revisions
181181
.PHONY: bump
182-
bump: bump-check bump-install ## Bump version using specified <VERSION> (call: make VERSION=<MAJOR.MINOR.PATCH> bump)
182+
bump: bump-check bump-install ## Bump version (call: make bump major|minor|patch)
183183
@-$(MSG_I) "Updating package version..."
184184
@[ $(BUMP_VERSION_INPUT) -eq 0 ] || [ "${VERSION}" ] || ( \
185185
$(MSG_E) "Argument 'VERSION' is not specified to bump version"; exit 1 \
@@ -196,7 +196,7 @@ bump: bump-check bump-install ## Bump version using specified <VERSION> (call:
196196

197197
.PHONY: bump-install
198198
bump-install: ## Installs bump2version if not detected in the environment
199-
@-$(SHELL) -c 'which -s "$(BUMP_TOOL)" || pip install $(BUMP_TOOL)'
199+
@-$(SHELL) -c 'which "$(BUMP_TOOL)" &> /dev/null || pip install $(BUMP_TOOL)'
200200

201201
.PHONY: bump-check
202202
bump-check: ## Verifies that required bump2version configuration file is present

0 commit comments

Comments
 (0)