Update update_meta_core.yaml

This commit is contained in:
juewuy
2024-01-09 12:24:39 +08:00
committed by GitHub
parent 3493ee3e5f
commit b38cdc91b5

View File

@@ -47,8 +47,8 @@ jobs:
rm -fr upx*
- name: Update
run: |
rm -fr ./bin/clash.meta/*
cp ./tmp/* ./bin/clash.meta/
rm -fr ./bin/meta/*
cp ./tmp/* ./bin/meta/
rm -fr ./tmp
sed -i "s/meta_v=.*/meta_v=$(./bin/clash.meta/clash-linux-amd64 -v 2>/dev/null | head -n 1 | sed 's/ linux.*//;s/.* //')/" bin/version
- name: Commit and push