File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,30 +12,19 @@ generate_categorized_changelog() {
1212
1313 echo " ## What's Changed"
1414
15- # Store all commits in a temporary file
16- all_commits=$( mktemp)
17- $git_log_command --pretty=format:" * %s (%h)" --reverse > " $all_commits "
18-
1915 # Features
2016 echo " ### 🚀 Features"
21- grep -i " ^* feat: " " $all_commits " || true
17+ $git_log_command --pretty=format: " * %s (%h) " --reverse | grep " ^* feat " || true
2218
2319 # Bug Fixes
2420 echo -e " \n### 🐛 Bug Fixes"
25- grep -i " ^* fix: " " $all_commits " || true
21+ $git_log_command --pretty=format: " * %s (%h) " --reverse | grep " ^* fix " || true
2622
2723 # Documentation
2824 echo -e " \n### 📚 Documentation"
29- grep -i " ^* docs: " " $all_commits " || true
25+ $git_log_command --pretty=format: " * %s (%h) " --reverse | grep " ^* docs " || true
3026
3127 # Other Changes
3228 echo -e " \n### 🔧 Other Changes"
33- grep -i -v " ^* feat:\|^* fix:\|^* docs:" " $all_commits " || true
34-
35- # Cleanup
36- rm " $all_commits "
37- }
38-
39- # Usage example:
40- # changelog=$(generate_categorized_changelog "v1.0.0")
41- # echo "$changelog"
29+ $git_log_command --pretty=format:" * %s (%h)" --reverse | grep -v " ^* feat\|^* fix\|^* docs" || true
30+ }
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " python-template"
3- version = " 0.5.29 "
3+ version = " 0.5.30 "
44description = " Used to templatize python projects."
55authors = [" Loïc Motheu <lmotheu@gmail.com>" ]
66readme = " README.md"
You can’t perform that action at this time.
0 commit comments