From c9711dc5fd2d23915b6894d64a1e31d27a7238a4 Mon Sep 17 00:00:00 2001 From: Faumaray Date: Sun, 19 Oct 2025 04:33:30 +0300 Subject: [PATCH] trying fix remove Signed-off-by: Faumaray --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5e454ae..c7fd623 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,9 +87,10 @@ pipeline { if [ -n "$ASSET_ID" ] && [ "$ASSET_ID" != "null" ]; then echo "🗑 Removing old asset (ID $ASSET_ID)" curl -s -X DELETE -H "Authorization: token $GITEA_TOKEN" \ - "$GITEA_URL/api/v1/repos/$REPO/releases/assets/$ASSET_ID" >/dev/null || true + "$GITEA_URL/api/v1/repos/$REPO/releases/$RELEASE_ID/assets/$ASSET_ID" >/dev/null || true fi + # Upload new artifact echo "⬆️ Uploading new VoidLoader.zip ..." curl -s -X POST -H "Authorization: token $GITEA_TOKEN" \