From 673cefd0a8ca9a79c2128f01647eeff527c81503 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 17 May 2024 08:59:11 +0200 Subject: [PATCH] unify output --- gitea-package.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gitea-package.sh b/gitea-package.sh index 7562699..9586081 100755 --- a/gitea-package.sh +++ b/gitea-package.sh @@ -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