Skip to content

Commit

Permalink
Merge pull request #377 from f-hafner/bumpversion-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sjvrijn committed Apr 22, 2024
2 parents 455ae35 + 97c6fda commit 704a9b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_bumpversion(baked_with_development_dependencies, project_env_bin_dir):
assert original_version in (project_dir / 'my_python_package' / '__init__.py').read_text('utf-8')
assert original_version in (project_dir / 'docs' / 'conf.py').read_text('utf-8')

result = run([f'{bin_dir}bump-my-version', 'major'], project_dir)
result = run([f'{bin_dir}bump-my-version', 'bump', 'major'], project_dir)
assert result.returncode == 0
assert '' in result.stdout
expected_version = '1.0.0'
Expand Down
6 changes: 3 additions & 3 deletions {{cookiecutter.directory_name}}/README.dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ make doctest
Bumping the version across all files is done with [bump-my-version](https://github.com/callowayproject/bump-my-version), e.g.

```shell
bump-my-version major # bumps from e.g. 0.3.2 to 1.0.0
bump-my-version minor # bumps from e.g. 0.3.2 to 0.4.0
bump-my-version patch # bumps from e.g. 0.3.2 to 0.3.3
bump-my-version bump major # bumps from e.g. 0.3.2 to 1.0.0
bump-my-version bump minor # bumps from e.g. 0.3.2 to 0.4.0
bump-my-version bump patch # bumps from e.g. 0.3.2 to 0.3.3
```

## Making a release
Expand Down

0 comments on commit 704a9b4

Please sign in to comment.