curl error handling
This commit is contained in:
@@ -55,7 +55,7 @@ tasks:
|
||||
description: "Release Version"
|
||||
exec: "curl"
|
||||
args:
|
||||
- "-sS"
|
||||
- "-sSf"
|
||||
- "-X"
|
||||
- "POST"
|
||||
- "-H"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user