Skip to content

Commit a270c72

Browse files
committed
docs: update git cliff configuration
Signed-off-by: JP-Ellis <[email protected]>
1 parent 4ba23f2 commit a270c72

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

cliff.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ postprocessors = []
6767
output = "CHANGELOG.md"
6868

6969
[git]
70+
tag_pattern = "^(v.*|pact-python/.*)$"
7071
# parse the commits based on https://www.conventionalcommits.org
7172
conventional_commits = true
7273
# filter out the commits that are not conventional
@@ -103,6 +104,8 @@ filter_commits = false
103104
topo_order = false
104105
# sort the commits inside sections by oldest/newest order
105106
sort_commits = "oldest"
107+
# Ignore any changes from the CLI and FFI sub-projects
108+
exclude_paths = ["pact-python-cli/", "pact-python-ffi/"]
106109

107110
[remote.github]
108111
owner = "pact-foundation"

pact-python-cli/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ postprocessors = []
7070
output = "CHANGELOG.md"
7171

7272
[git]
73-
tag_pattern = "pact-python-cli/.*"
73+
tag_pattern = "^pact-python-cli/.*$"
7474
# parse the commits based on https://www.conventionalcommits.org
7575
conventional_commits = true
7676
# filter out the commits that are not conventional

pact-python-ffi/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ postprocessors = []
7070
output = "CHANGELOG.md"
7171

7272
[git]
73-
tag_pattern = "pact-python-ffi/.*"
73+
tag_pattern = "^pact-python-ffi/.*$"
7474
# parse the commits based on https://www.conventionalcommits.org
7575
conventional_commits = true
7676
# filter out the commits that are not conventional

0 commit comments

Comments
 (0)