From 46c17140dc786a187aeb38e2fb1a93395881202b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Jenzer?= Date: Tue, 27 Jan 2026 10:48:52 +0100 Subject: [PATCH] curl error handling --- development/manage-version.yaml | 2 +- development/release-target.yaml | 4 ++-- system/upgrade_github_application.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/development/manage-version.yaml b/development/manage-version.yaml index 95f1b73..944faea 100644 --- a/development/manage-version.yaml +++ b/development/manage-version.yaml @@ -55,7 +55,7 @@ tasks: description: "Release Version" exec: "curl" args: - - "-sS" + - "-sSf" - "-X" - "POST" - "-H" diff --git a/development/release-target.yaml b/development/release-target.yaml index fb6c3ee..ae47e23 100644 --- a/development/release-target.yaml +++ b/development/release-target.yaml @@ -47,7 +47,7 @@ tasks: description: "Upload Tar File" exec: "curl" args: - - "-sS" + - "-sSf" - "-X" - "PUT" - "-H" @@ -62,7 +62,7 @@ tasks: description: "Upload Checksum File" exec: "curl" args: - - "-sS" + - "-sSf" - "-X" - "PUT" - "-H" diff --git a/system/upgrade_github_application.yaml b/system/upgrade_github_application.yaml index e32c183..4834efb 100644 --- a/system/upgrade_github_application.yaml +++ b/system/upgrade_github_application.yaml @@ -5,7 +5,7 @@ tasks: exec: "curl" hideStdout: true args: - - "-s" + - "-sSf" - "$(settings.api_url)" parsers: - name: "Get Download URL" @@ -47,7 +47,7 @@ tasks: exec: "curl" args: - "-L" - - "--silent" + - "-sSf" - "-o" - "$(tempdir())/$(archive_file)" - "$(download_url)" @@ -80,7 +80,7 @@ tasks: description: "Upload application $(archive_file)" exec: "curl" args: - - "-sS" + - "-sSf" - "-H" - "Authorization: token $(decrypt(gitToken,keyfile))" - "--upload-file" @@ -91,7 +91,7 @@ tasks: description: "Upload checksum $(sha256_file)" exec: "curl" args: - - "-sS" + - "-sSf" - "-H" - "Authorization: token $(decrypt(gitToken,keyfile))" - "--upload-file"