Update update_meta_core.yaml
This commit is contained in:
4
.github/workflows/update_meta_core.yaml
vendored
4
.github/workflows/update_meta_core.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user