🐛 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,8 +624,10 @@ jobs:
/^## :bookmark: '"${CHANGELOG_VERSION}"'$/ { in_version=1; next }
/^## :bookmark: / && in_version { in_version=0 }
in_version && /\(\[([0-9a-f]{7})\]/ {
match($0, /\(\[([0-9a-f]{7})\]/, arr)
print arr[1]
if(match($0, /\(\[([0-9a-f]{7})\]/)) {
hash = substr($0, RSTART+2, 7)
print arr[1]
}
}
' CHANGELOG.md | sort -u)