You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing issue or pull request for this?
I have searched the existing issues and pull requests
Feature description
git-cliff --tag-pattern (?i)prod-.* --tag-n 3
Desired solution
If there are tags like prod-240601, prod-240701, prod-240801, prod-240901, and the latest tag prod-241001, only prod-241001, prod-240901 and prod-240801 should be selected.
Alternatives considered
already there are tag pattern options, it is very easy to add this option.
Additional context
Example shell script
#!/bin/bash
tags=$(git tag -i --sort=taggerdate -l "prod-*"| tail -n 3)
first=$(echo "$tags"| head -n 1)
last=$(echo "$tags"| tail -n 1)
range=$(echo "$first..$last")
git-cliff --tag-pattern "(?i)prod-*"$range -o changelog.md
The text was updated successfully, but these errors were encountered:
The example shell script works well in my pipeline. (Actually, I had to do a few things, but after a few days, git-cliff supported my wrapper code with more features, like JSON export. 😭)
We generate the git-cliff JSON, convert it to ADF (Atlassian Document Format), and post it on Confluence as part of the monthly scheduled release.
okay i will do it. If you don't mind reviewing my code
Is there an existing issue or pull request for this?
Feature description
git-cliff --tag-pattern (?i)prod-.* --tag-n 3
Desired solution
If there are tags like prod-240601, prod-240701, prod-240801, prod-240901, and the latest tag prod-241001, only prod-241001, prod-240901 and prod-240801 should be selected.
Alternatives considered
already there are tag pattern options, it is very easy to add this option.
Additional context
The text was updated successfully, but these errors were encountered: