Skip to content

Commit

Permalink
Fixed configuration files !minor
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Aug 25, 2023
1 parent c1ef3b2 commit a937f7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .changelog-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,34 +104,27 @@ valid_author_tokens:
# Rules applied to commits to determine the type of release to suggest.
release_hint_rules:
- match_result: dev
no_match_result: no-release
branch: ^((?!master|main).)*$
- match_result: patch
no_match_result: no-release
path: requirements/prod.in
branch: master|main
- match_result: patch
no_match_result: no-release
grouping: Other
path: bumpversion/*
branch: master|main
- match_result: patch
no_match_result: no-release
grouping: Fixes
path: bumpversion/*
branch: master|main
- match_result: minor
no_match_result: no-release
grouping: Updates
path: bumpversion/*
branch: master|main
- match_result: minor
no_match_result: no-release
grouping: New
path: bumpversion/*
branch: master|main
- match_result: major
no_match_result: no-release
grouping: Breaking Changes
path: bumpversion/*
branch: master|main
10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
[build-system]

requires = [
"setuptools >= 40.9.0",
"wheel",
]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -216,9 +212,9 @@ commit_args = "--no-verify"
tag = true
tag_name = "{new_version}"
allow_dirty = true
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<dev>dev\\d+))?"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<dev>dev)\\d+\\+[-_a-zA-Z0-9]+)?"
serialize = [
"{major}.{minor}.{patch}.{dev}{distance_to_latest_tag}",
"{major}.{minor}.{patch}.{dev}{distance_to_latest_tag}+{short_branch_name}",
"{major}.{minor}.{patch}"
]
message = "Version updated from {current_version} to {new_version}"
Expand Down

0 comments on commit a937f7d

Please sign in to comment.