🐛 fix bug

This commit is contained in:
csh 2025-11-03 11:24:41 +08:00
parent bf6698ab3e
commit fc76a1f625
1 changed files with 4 additions and 2 deletions

View File

@ -624,9 +624,11 @@ jobs:
/^## :bookmark: '"${CHANGELOG_VERSION}"'$/ { in_version=1; next } /^## :bookmark: '"${CHANGELOG_VERSION}"'$/ { in_version=1; next }
/^## :bookmark: / && in_version { in_version=0 } /^## :bookmark: / && in_version { in_version=0 }
in_version && /\(\[([0-9a-f]{7})\]/ { in_version && /\(\[([0-9a-f]{7})\]/ {
match($0, /\(\[([0-9a-f]{7})\]/, arr) if(match($0, /\(\[([0-9a-f]{7})\]/)) {
hash = substr($0, RSTART+2, 7)
print arr[1] print arr[1]
} }
}
' CHANGELOG.md | sort -u) ' CHANGELOG.md | sort -u)
# 找出真正的新 commits (基于 hash 去重) # 找出真正的新 commits (基于 hash 去重)