~自动打包内核优化,并增加premium内核

This commit is contained in:
juewuy
2023-04-15 19:52:28 +08:00
parent b8cc2377f8
commit 28e3cf3d63
3 changed files with 49 additions and 8 deletions

View File

@@ -53,11 +53,4 @@ jobs:
prerelease: true
files: |
./tmp/*
- name: Commit and push version
run: |
sed -i "s/meta.a_v=.*/meta.a_v=$(./tmp/clash-linux-amd64 -v 2>/dev/null | head -n 1 | sed 's/ linux.*//;s/.* //')/" bin/version
rm -fr ./tmp
git config --global user.email "juewuy@126.com" && git config --global user.name "Bot"
git add . && git commit -m "更新Meta.Alpha内核至${download_version}" || exit 0
git push