From 4cd18c2bcdb2ce21234776364598d42261df004d Mon Sep 17 00:00:00 2001 From: Buk Bukowski Date: Thu, 13 Jun 2024 09:24:25 +0200 Subject: [PATCH] docs(website): add information about `--bump` with `tag prefixes` (#695) Signed-off-by: Bukowa --- website/docs/usage/bump-version.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/docs/usage/bump-version.md b/website/docs/usage/bump-version.md index 902d92bc87..6478af93d5 100644 --- a/website/docs/usage/bump-version.md +++ b/website/docs/usage/bump-version.md @@ -10,7 +10,11 @@ To calculate and set the next semantic version (i.e. _bump the version_) for the git cliff --bump ``` -For example, if you have `1.0.0` and committed "feat: xyz", `git-cliff --bump --unreleased` will create a changelog for `1.1.0`. +- Basic: + - For example, if you have `1.0.0` and committed "feat: xyz", `git-cliff --bump --unreleased` will create a changelog for `1.1.0`. + +- Tag prefixes: + - Tag prefixes are also supported, for example `testing/v1.0.0-beta.1` can be updated to `testing/v1.0.0-beta.2` How it works is that for a semantic versioning such as `..`: