Release v1.4.7 测试生成readme.md
Some checks failed
自动版本发布 / AutoRelease (push) Successful in 15s
自动版本发布 / AutoREADME.md (push) Failing after 26s

This commit is contained in:
liyp 2025-04-12 17:33:56 +08:00
parent 0bc25a1c3b
commit 172e66bf18

View File

@ -217,7 +217,7 @@ jobs:
# 获取提交记录
COMMITS=$(git log --pretty=format:"- %ad - Commit: %s (%h)" --date=iso-strict)
# 获取版本发布记录
RELEASES=$(curl -s "https://<your-gitea-instance>/api/v1/repos/${{ github.repository }}/releases" | jq -r '.[] | "- \(.published_at) - Release: \(.name) (\(.tag_name))"')
RELEASES=$(curl -s "https://${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases" | jq -r '.[] | "- \(.published_at) - Release: \(.name) (\(.tag_name))"')
# 合并并按时间排序
COMBINED_TIMELINE=$(echo -e "$COMMITS\n$RELEASES" | sort -r)
echo "::set-output name=timeline::$COMBINED_TIMELINE"