Skip to content

Commit

Permalink
Updated bump2version
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Jan 15, 2023
1 parent e5e0b32 commit 2b9e760
Show file tree
Hide file tree
Showing 3 changed files with 410 additions and 406 deletions.
4 changes: 0 additions & 4 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ serialize = {major}.{minor}.{patch}
[bumpversion:file:photoscript/_version.py]
parse = __version__\s=\s\"(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\"
serialize = {major}.{minor}.{patch}

[bumpversion:file:pyproject.toml]
parse = version\s=\s\"(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\"
serialize = {major}.{minor}.{patch}
10 changes: 9 additions & 1 deletion README_DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,18 @@ To build the project:
- `rm -rf dist; rm -rf build`
- `poetry build`

## Versioning

Use [bump2version](https://github.com/c4urself/bump2version):

- `bump2version patch --verbose [--dry-run]`
- `bump2version minor --verbose [--dry-run]`
- `bump2version major --verbose [--dry-run]`

## Change Log

The `CHANGELOG.md` is created with [auto-changelog](https://github.com/cookpete/auto-changelog):

- `git pull`
- `auto-changelog --ignore-commit-pattern CHANGELOG -l 5`
- `git add CHANGELOG.md; git commit -m"Updated CHANGELOG.md [skip ci]"; git push`
- `git add CHANGELOG.md; git commit -m"Updated CHANGELOG.md [skip ci]"; git push`
Loading

0 comments on commit 2b9e760

Please sign in to comment.