From f4bd09d735aad123292d36284c4f65187f89935c Mon Sep 17 00:00:00 2001 From: "s.galanskiy" Date: Wed, 2 Jul 2025 16:11:26 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.woodpecker/.woodpecker.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/.woodpecker.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.woodpecker/.woodpecker.yml b/.woodpecker/.woodpecker.yml index d9011e9..d6f6a21 100644 --- a/.woodpecker/.woodpecker.yml +++ b/.woodpecker/.woodpecker.yml @@ -106,9 +106,12 @@ steps: - git push -f https://s.galanskiy:b4785198d18200dfed812dc4299575f736255bd7@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION" # СОЗДАНИЕ И ЗАГРУЗКА РЕЛИЗА ЧЕРЕЗ API - - VERSION=$(cat version.env | grep VERSION | cut -d'=' -f2) + - . ./version.env + - echo "Текущая версия: $VERSION" - TAG="v$VERSION" - DEB_PATH="../gonets_${VERSION}_amd64.deb" + - echo "Путь к файлу: $DEB_PATH" + - ls -l "$DEB_PATH" || echo "Файл не найден по пути: $DEB_PATH" - | curl -s -X POST "https://dev.gossys.dev/api/v1/repos/s.galanskiy/gonets/releases" \ -H "Authorization: token b4785198d18200dfed812dc4299575f736255bd7" \ @@ -124,4 +127,4 @@ steps: curl -s -X POST \ -H "Authorization: token b4785198d18200dfed812dc4299575f736255bd7" \ -F "attachment=@$DEB_PATH" \ - "https://dev.gossys.dev/api/v1/repos/s.galanskiy/gonets/releases/$TAG/assets" \ No newline at end of file + "https://dev.gossys.dev/api/v1/repos/s.galanskiy/gonets/releases/$TAG/assets" || echo "Ошибка загрузки файла" \ No newline at end of file