fix var typo; add curl verbose
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/test-image Pipeline was successful

This commit is contained in:
OCram85 2024-05-14 08:28:59 +02:00
parent bac5a3cc22
commit fad953e2a0

View File

@ -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() {