Release v1.8.3 测试生成readme.md
All checks were successful
自动版本发布 / AutoRelease (push) Successful in 17s
自动版本发布 / AutoREADME.md (push) Successful in 19s

This commit is contained in:
iorebuild 2025-04-13 10:10:29 +08:00
parent 2a5dc32e95
commit feebbfb297

View File

@ -268,8 +268,11 @@ jobs:
body=$(echo "$row" | jq -r '.body')
published_at=$(echo "$row" | jq -r '.published_at')
# 将 ISO 8601 格式的时间转换为指定格式
formatted_time=$(date -d "$published_at" +"Release at: %Y-%m-%d %H:%M:%S")
markdown_content+="## ${name} (${tag_name})\n"
markdown_content+="**Published at**: ${published_at}\n\n"
markdown_content+="${formatted_time}\n\n"
markdown_content+="${body}\n\n"
done < <(echo "$releases" | jq -c '.[]')