From 2c621f71e6cdca05b17516d2a9ba80fbabd4d3f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 29 Oct 2023 13:53:27 +0100 Subject: [PATCH] chore(config): update tag_pattern value for backwards compatibility --- cliff.toml | 3 ++- config/cliff.toml | 3 ++- examples/cocogitto.toml | 3 ++- examples/detailed.toml | 3 ++- examples/keepachangelog.toml | 3 ++- examples/scoped.toml | 3 ++- examples/scopesorted.toml | 3 ++- examples/unconventional.toml | 3 ++- website/docs/configuration.md | 3 ++- 9 files changed, 18 insertions(+), 9 deletions(-) diff --git a/cliff.toml b/cliff.toml index 0feae4a60c..a6c5eacb1e 100644 --- a/cliff.toml +++ b/cliff.toml @@ -91,7 +91,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = false # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "beta|alpha" # regex for ignoring tags diff --git a/config/cliff.toml b/config/cliff.toml index 1e9558702c..7beeacaa75 100644 --- a/config/cliff.toml +++ b/config/cliff.toml @@ -69,7 +69,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = false # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags diff --git a/examples/cocogitto.toml b/examples/cocogitto.toml index 8dd0c8ea6b..4168444b61 100644 --- a/examples/cocogitto.toml +++ b/examples/cocogitto.toml @@ -79,7 +79,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = false # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags diff --git a/examples/detailed.toml b/examples/detailed.toml index 133269f85d..887792525f 100644 --- a/examples/detailed.toml +++ b/examples/detailed.toml @@ -66,7 +66,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = false # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags diff --git a/examples/keepachangelog.toml b/examples/keepachangelog.toml index 079d0ba2a2..cc90c83ed0 100644 --- a/examples/keepachangelog.toml +++ b/examples/keepachangelog.toml @@ -55,7 +55,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = true # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags diff --git a/examples/scoped.toml b/examples/scoped.toml index 9ae4955fa6..7bfd180944 100644 --- a/examples/scoped.toml +++ b/examples/scoped.toml @@ -57,7 +57,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = false # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags diff --git a/examples/scopesorted.toml b/examples/scopesorted.toml index 248f4483c6..a9788a84b4 100644 --- a/examples/scopesorted.toml +++ b/examples/scopesorted.toml @@ -70,7 +70,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = false # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags diff --git a/examples/unconventional.toml b/examples/unconventional.toml index aa859e2e02..7bd03e0f2c 100644 --- a/examples/unconventional.toml +++ b/examples/unconventional.toml @@ -55,7 +55,8 @@ protect_breaking_commits = false # filter out the commits that are not matched by commit parsers filter_commits = false # regex for matching git tags -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags diff --git a/website/docs/configuration.md b/website/docs/configuration.md index a4ad48a129..187f5b0a1b 100644 --- a/website/docs/configuration.md +++ b/website/docs/configuration.md @@ -83,7 +83,8 @@ commit_parsers = [ ] protect_breaking_commits = false filter_commits = false -tag_pattern = "^v[0-9].*" +tag_pattern = "v[0-9].*" + skip_tags = "v0.1.0-beta.1" ignore_tags = "" topo_order = false