diff --git a/plugin.sh b/plugin.sh index e69ac71..b444b15 100644 --- a/plugin.sh +++ b/plugin.sh @@ -37,6 +37,7 @@ if [ "${PLUGIN_GITEA_DOMAIN:+set}" = set ]; then exit 1; fi if [ "${PLUGIN_REPO:-null}" = null ]; then + echo "Falling back to drone repo name"; PLUGIN_REPO=$CI_REPO_NAME fi @@ -50,8 +51,10 @@ if [ "${PLUGIN_GITEA_DOMAIN:+set}" = set ]; then \"draft\": false, \"tag_name\": \"$CURRENTTAG\" }" + echo "Release created"; fi if [ "${PLUGIN_MATRIX_SERVER:+set}" = set ]; then + echo "Detected matrix server"; if [ "${PLUGIN_MATRIX_USER:-null}" = null ]; then echo "No matrix username provided"; exit 3; @@ -83,4 +86,5 @@ if [ "${PLUGIN_MATRIX_SERVER:+set}" = set ]; then \"format\": \"org.matrix.custom.html\", \"formatted_body\": \"$FORMATTED_CHANGES\" }" + echo "Notification sent"; fi \ No newline at end of file