From 774235da7fac056f1c7bbd013ad4a648f1a81ed5 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 14 May 2024 08:55:29 +0200 Subject: [PATCH] disable curl output --- gitea-package.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitea-package.sh b/gitea-package.sh index 9db820e..41460d2 100755 --- a/gitea-package.sh +++ b/gitea-package.sh @@ -48,7 +48,7 @@ showSettings() { } uploadArtifact() { - cout=$(curl -v --output /dev/null --write-out "%{http_code}" \ + cout=$(curl --output /dev/null --write-out "%{http_code}" \ --user "$PLUGIN_USER:$PLUGIN_PASSWORD" \ --upload-file "$PLUGIN_FILE_SOURCE" \ "$CI_FORGE_URL/api/packages/$PLUGIN_OWNER/generic/$PLUGIN_PACKAGE_NAME/$PLUGIN_PACKAGE_VERSION/$PLUGIN_FILE_NAME") @@ -59,8 +59,8 @@ main() { if [ -n "$PLUGIN_DEBUG" ]; then sayW "Debug mode enabled." showSettings - sayW "Available ENV vars:" - showENV + #sayW "Available ENV vars:" + #showENV fi uploadArtifact }