增加meta测试版内核的自动打包流程
This commit is contained in:
@@ -48,14 +48,14 @@ jobs:
|
||||
with:
|
||||
tag_name: clash.meta.alpha
|
||||
name: clash.meta.alpha
|
||||
body: "The alpha version of clash.meta core \n这是clash.meta的Alpha版本内核文件\n version=${download_version}\n https://github.com/MetaCubeX/Clash.Meta/releases/tag/Prerelease-Alpha \nZip by upx\n使用了upx进行压缩\nOnly support for ShellClash\n仅限于ShellClash项目使用"
|
||||
body: "The alpha version of clash.meta core \n这是clash.meta的Alpha版本内核文件\nhttps://github.com/MetaCubeX/Clash.Meta/releases/tag/Prerelease-Alpha \nZip by upx\n使用了upx进行压缩\nOnly support for ShellClash\n仅限于ShellClash项目使用"
|
||||
draft: false
|
||||
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 | sed 's/ linux.*//;s/.* //')/" bin/version
|
||||
sed -i "s/meta.a_v=.*/meta.a_v=$(/tmp/clash-linux-amd64 -v 2>/dev/null | 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
|
||||
|
||||
Reference in New Issue
Block a user