Skip to content

Commit 704a9b4

Browse files
authored
Merge pull request #377 from f-hafner/bumpversion-bug
2 parents 455ae35 + 97c6fda commit 704a9b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def test_bumpversion(baked_with_development_dependencies, project_env_bin_dir):
182182
assert original_version in (project_dir / 'my_python_package' / '__init__.py').read_text('utf-8')
183183
assert original_version in (project_dir / 'docs' / 'conf.py').read_text('utf-8')
184184

185-
result = run([f'{bin_dir}bump-my-version', 'major'], project_dir)
185+
result = run([f'{bin_dir}bump-my-version', 'bump', 'major'], project_dir)
186186
assert result.returncode == 0
187187
assert '' in result.stdout
188188
expected_version = '1.0.0'

{{cookiecutter.directory_name}}/README.dev.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ make doctest
116116
Bumping the version across all files is done with [bump-my-version](https://github.com/callowayproject/bump-my-version), e.g.
117117

118118
```shell
119-
bump-my-version major # bumps from e.g. 0.3.2 to 1.0.0
120-
bump-my-version minor # bumps from e.g. 0.3.2 to 0.4.0
121-
bump-my-version patch # bumps from e.g. 0.3.2 to 0.3.3
119+
bump-my-version bump major # bumps from e.g. 0.3.2 to 1.0.0
120+
bump-my-version bump minor # bumps from e.g. 0.3.2 to 0.4.0
121+
bump-my-version bump patch # bumps from e.g. 0.3.2 to 0.3.3
122122
```
123123

124124
## Making a release

0 commit comments

Comments
 (0)