Skip to content

Commit 9f58f97

Browse files
committed
added bumpversion reference to project_setup.md
1 parent 3ac6387 commit 9f58f97

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

{{cookiecutter.project_name}}/project_setup.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ help you decide which tool to use for packaging.
105105
## Package version number
106106

107107
- We recommend using [semantic versioning](https://guide.esciencecenter.nl/#/best_practices/releases?id=semantic-versioning).
108-
- For convenience, the package version is stored in a single place: `{{ cookiecutter.package_name }}/__version__.py`.
109-
For updating the version number, you only have to change this file.
108+
- For convenience, the package version is stored in a single place: `{{ cookiecutter.package_name }}/.bumpversion.cfg`.
109+
For updating the version number, make sure the dev dependencies are installed and run `bumpversion patch`,
110+
`bumpversion minor`, or `bumpversion major` as appropriate.
110111
- Don't forget to update the version number before [making a release](https://guide.esciencecenter.nl/#/best_practices/releases)!
111112

112113
## Publish on Python Package Index (PyPI)

0 commit comments

Comments
 (0)