Replies: 2 comments 4 replies
-
Hello!
For example: # regex for skipping tags
skip_tags = "beta|alpha"
# regex for ignoring tags
ignore_tags = "rc" Consider this release history:
So Whereas Let me know if this works for your use case and if there is anything else that I can help you with! 🐻 |
Beta Was this translation helpful? Give feedback.
-
Thanks, I will re-test this behavior: I understood how this constructions work, I questioned about use-cases, but in my experience But.. What about the main part of the issue? You closed it, but question about |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue or pull request for this?
Feature description
I have pre-release
rc.*
tags and would like to generate CHANGELOG.md with them. Now, without any options pre-release tags considered like everything else, so I will have notes forrc.*
, but when I release new version git-cliff will generate notes only from latest RC tag, not from latest stable tag.For clarify, for tags 2.0, 2.1-rc.0, 2.1-rc.1, and 2.1 I want:
2.0 -> 2.1-rc.0
2.1-rc.0 -> 2.1-rc.1
2.0 -> 2.1
Also I don't understand use-cases of
skip_tags
option, can you explain? For ex. if italpha
, does it drop all commits from any matched prev. tag to obtained alpha tag, for what can I need this?)Desired solution
Separated logic for stable and pre-release tags.
Alternatives considered
Only manual approach with combinations of
tag-pattern
(include/exclude pre-release tags) (orignore_tags
, but it's 2 mostly repeatable configs, no CLI option) and--prepend
option one by one from version to version, I can't find any way to generate all file with my requirements.Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions