Update core_auto_update.yml

This commit is contained in:
juewuy 2024-03-30 13:51:36 +08:00 committed by GitHub
parent afc81c884b
commit 006d71b74b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,10 +21,10 @@ jobs:
git fetch --tags sekai git fetch --tags sekai
version_new=$(CGO_ENABLED=0 go run ./cmd/internal/read_tag) version_new=$(CGO_ENABLED=0 go run ./cmd/internal/read_tag)
version_old=$(curl -sSl https://github.com/juewuy/ShellCrash/releases/download/singbox_core_PuerNya/version) version_old=$(curl -sSl https://github.com/juewuy/ShellCrash/releases/download/singbox_core_PuerNya/version)
if [ $version_old = $version_new ];then [ $version_old = $version_new ] && {
echo "未检查到版本更新,已退出!" echo "未检查到版本更新,已退出!"
exit 1 exit 1
fi }
auto_update_singboxp_with_wg: auto_update_singboxp_with_wg:
needs: check_version needs: check_version