extend text output #10

Merged
OCram85 merged 4 commits from ext/output into main 2024-05-17 09:57:42 +02:00
Showing only changes of commit 673cefd0a8 - Show all commits

View File

@ -97,22 +97,22 @@ uploadArtifact() {
say "Curl http response code: $cout" "uploadArtifact"
if [ "$cout" = "201" ]; then
say "Upload sucessfully finished." "uploadArtifact"
say "Upload sucessfully finished." "uploadArtifact"
exit 0
elif [ "$cout" = "400" ]; then
sayE "Upload failed! (Bad Request)" "uploadArtifact"
sayE "Upload failed! (Bad Request) 💣" "uploadArtifact"
exit 1
elif [ "$cout" = "409" ]; then
sayE "File already exists in package version!" "uploadArtifact"
sayE "File already exists in package version! 🛑" "uploadArtifact"
else
sayE "Unknown upload response! ($cout)" "uploadArtifact"
sayE "Unknown upload response! ($cout) 💣" "uploadArtifact"
exit 1
fi
}
main() {
if [ -n "$PLUGIN_DEBUG" ]; then
sayW "Debug mode enabled."
sayW "🐞 Debug mode enabled."
showSettings
#sayW "Available ENV vars:"
#showENV