1028.1
All checks were successful
获取完整内核版本 / clone_with_proxy (push) Successful in 1m7s

This commit is contained in:
298977887 2024-10-28 17:05:37 +08:00
parent c6070329b3
commit bbb11d3f7f

View File

@ -136,16 +136,13 @@ jobs:
RELEASE_DATE="$(date +'%Y-%m-%d')"
OPENWRT_VERSION="${FULL_KERNEL_VERSION}"
NEW_CONTENT="
<!--action-tag-start-->
![Latest Version](https://img.shields.io/badge/固件版本-${LATEST_VERSION}-brightgreen)
![Based on OpenWrt](https://img.shields.io/badge/OpenWrt版本-${OPENWRT_VERSION}-00bfff)
![Architecture](https://img.shields.io/badge/适用架构-${ARCHITECTURE}-ff69b4)
![File Size](https://img.shields.io/badge/文件大小-${FILE_SIZE}-orange)
![Release Date](https://img.shields.io/badge/发布日期-${RELEASE_DATE}-blue)
<!--action-tag-end-->"
NEW_CONTENT="<!--action-tag-start-->\n\n"
NEW_CONTENT+="![Latest Version](https://img.shields.io/badge/固件版本-${LATEST_VERSION}-brightgreen)\n"
NEW_CONTENT+="![Based on OpenWrt](https://img.shields.io/badge/OpenWrt版本-${OPENWRT_VERSION}-00bfff)\n"
NEW_CONTENT+="![Architecture](https://img.shields.io/badge/适用架构-${ARCHITECTURE}-ff69b4)\n"
NEW_CONTENT+="![File Size](https://img.shields.io/badge/文件大小-${FILE_SIZE}-orange)\n"
NEW_CONTENT+="![Release Date](https://img.shields.io/badge/发布日期-${RELEASE_DATE}-blue)\n\n"
NEW_CONTENT+="<!--action-tag-end-->"
# 替换标记范围内的内容
sed -i "/<!--action-tag-start-->/, /<!--action-tag-end-->/c\\$NEW_CONTENT" README.md