diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 75bdc08..9f3e184 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -47,15 +47,14 @@ jobs: CURRENT_DATE=$(TZ='Asia/Shanghai' date +'%Y-%m-%d %H:%M') sed -i "s/\$PACKAGE_VERSION/$PACKAGE_VERSION/g" CHANGELOG.md sed -i "s/\$CURRENT_DATE/$CURRENT_DATE/g" CHANGELOG.md + gh release create "$PACKAGE_VERSION" \ -t "$PACKAGE_VERSION" \ -n "$(cat CHANGELOG.md) --- - 使用方法: - - Chrome、Edge、Arc 用户请在 [Chrome 商店中安装](https://chromewebstore.google.com/detail/fbgblmjbeebanackldpbmpacppflgmlj) - - Firefox 用户请在 [Firefox 商店中安装](https://addons.mozilla.org/zh-CN/firefox/addon/linux_do-scripts/) - + 使用方法,Chrome、Edge、Arc 用户请在 [Chrome 商店中安装](https://chromewebstore.google.com/detail/fbgblmjbeebanackldpbmpacppflgmlj) + 发布于:$CURRENT_DATE" env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} \ No newline at end of file