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*
|
rm -fr upx*
|
||||||
- name: Update
|
- name: Update
|
||||||
run: |
|
run: |
|
||||||
rm -fr ./bin/clash.meta/*
|
rm -fr ./bin/meta/*
|
||||||
cp ./tmp/* ./bin/clash.meta/
|
cp ./tmp/* ./bin/meta/
|
||||||
rm -fr ./tmp
|
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
|
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
|
- name: Commit and push
|
||||||
|
|||||||
Reference in New Issue
Block a user