From 0917b01adead331bb8e3d038b7386d1934ebe085 Mon Sep 17 00:00:00 2001 From: civisrom <167646351+civisrom@users.noreply.github.com> Date: Fri, 21 Feb 2025 16:01:26 +0300 Subject: [PATCH] Update update-dependencies.yml --- .github/workflows/update-dependencies.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index c613f1c8..7233ce0c 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -28,13 +28,6 @@ jobs: check-latest: true cache: true # Включаем кэширование модулей - - name: Check go.mod exists - run: | - if [ ! -f go.mod ]; then - echo "Error: go.mod file not found" - exit 1 - fi - - name: Check go.mod and go.sum exist run: | if [ ! -f go.mod ]; then @@ -68,7 +61,7 @@ jobs: echo "Specifically updating xray-core to latest version..." # Получаем последнюю версию xray-core (не псевдоверсию) - LATEST_XRAY=$(go list -m -versions github.com/xtls/xray-core | tr ' ' '\n' | grep -v '-0.' | sort -V | tail -1) + LATEST_XRAY=$(go list -m -versions github.com/xtls/xray-core | tr ' ' '\n' | grep -v -- '-0\.' | sort -V | tail -1) if [ -n "$LATEST_XRAY" ]; then echo "Latest stable xray-core version: $LATEST_XRAY"