add echos for better debugging
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Nicolai Ort 2023-05-10 20:24:44 +02:00
parent 3624631433
commit 3b5080d963
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 4 additions and 0 deletions

View File

@ -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