From fad953e2a097bb0d1a84e983c7235fe980fe23ca Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 14 May 2024 08:28:59 +0200 Subject: [PATCH] fix var typo; add curl verbose --- gitea-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitea-package.sh b/gitea-package.sh index 683dc4e..5d50c61 100755 --- a/gitea-package.sh +++ b/gitea-package.sh @@ -48,9 +48,9 @@ showSettings() { } uploadArtifact() { - curl --user "$PLUGIN_USER:$PLUGIN_PASSWORD" \ + curl -vv --user "$PLUGIN_USER:$PLUGIN_PASSWORD" \ --upload-file "$PLUGIN_FILE_SOURCE" \ - "$CI_FORGE_URL/api/packages/$PLUGIN_OWNER/generic/$PLUGIN_PACKAGE_NAME/$PLUGINPACKAGE_VERSION/$PLUGIN_FILE_NAME" + "$CI_FORGE_URL/api/packages/$PLUGIN_OWNER/generic/$PLUGIN_PACKAGE_NAME/$PLUGIN_PACKAGE_VERSION/$PLUGIN_FILE_NAME" } main() {