mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
fix(workflow): auto-release message
This commit is contained in:
@@ -108,14 +108,14 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
print_category "✨" "Features" "^(feat|feature):"
|
print_category "✨" "Features" "^(feat|feature)(\(.*\))?:"
|
||||||
print_category "🐛" "Fixes" "^fix:"
|
print_category "🐛" "Fixes" "^fix(\(.*\))?:"
|
||||||
print_category "📚" "Documentation" "^docs:"
|
print_category "📚" "Documentation" "^docs(\(.*\))?:"
|
||||||
print_category "💄" "Style & Refactor" "^(style|refactor|perf):"
|
print_category "💄" "Style & Refactor" "^(style|refactor|perf)(\(.*\))?:"
|
||||||
print_category "🔧" "Chore & Test" "^(chore|test|ci|build):"
|
print_category "🔧" "Chore & Test" "^(chore|test|ci|build)(\(.*\))?:"
|
||||||
|
|
||||||
# Other changes (inverse grep)
|
# Other changes (inverse grep)
|
||||||
local others=$(grep -ivE "^(feat|feature|fix|docs|style|refactor|perf|chore|test|ci|build):" commits.txt)
|
local others=$(grep -ivE "^(feat|feature|fix|docs|style|refactor|perf|chore|test|ci|build)(\(.*\))?:" commits.txt)
|
||||||
if [ ! -z "$others" ]; then
|
if [ ! -z "$others" ]; then
|
||||||
echo "#### 📌 Other Changes" >> release_notes.md
|
echo "#### 📌 Other Changes" >> release_notes.md
|
||||||
echo "$others" | while IFS='|' read -r msg hash full_hash; do
|
echo "$others" | while IFS='|' read -r msg hash full_hash; do
|
||||||
|
|||||||
Reference in New Issue
Block a user