Update update_singbox_core.yaml

This commit is contained in:
juewuy 2024-01-12 20:44:10 +08:00 committed by GitHub
parent 2087bc8480
commit b42c7f5d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ jobs:
run: |
mkdir -p ./bin/singbox
rm -fr ./bin/singbox/*
mv -f $dir/sing-box-linux-* ./bin/singbox/
mv -f ./tmp/sing-box-linux-* ./bin/singbox/
rm -fr ./tmp
sed -i "s/singbox_v=.*/singbox_v=$(./bin/singbox/singbox-linux-amd64 version 2>/dev/null | grep -Eo 'version .*' | sed 's/version //')/" bin/version
- name: Commit and push