add echos for better debugging
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3624631433
commit
3b5080d963
@ -37,6 +37,7 @@ if [ "${PLUGIN_GITEA_DOMAIN:+set}" = set ]; then
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
if [ "${PLUGIN_REPO:-null}" = null ]; then
|
if [ "${PLUGIN_REPO:-null}" = null ]; then
|
||||||
|
echo "Falling back to drone repo name";
|
||||||
PLUGIN_REPO=$CI_REPO_NAME
|
PLUGIN_REPO=$CI_REPO_NAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -50,8 +51,10 @@ if [ "${PLUGIN_GITEA_DOMAIN:+set}" = set ]; then
|
|||||||
\"draft\": false,
|
\"draft\": false,
|
||||||
\"tag_name\": \"$CURRENTTAG\"
|
\"tag_name\": \"$CURRENTTAG\"
|
||||||
}"
|
}"
|
||||||
|
echo "Release created";
|
||||||
fi
|
fi
|
||||||
if [ "${PLUGIN_MATRIX_SERVER:+set}" = set ]; then
|
if [ "${PLUGIN_MATRIX_SERVER:+set}" = set ]; then
|
||||||
|
echo "Detected matrix server";
|
||||||
if [ "${PLUGIN_MATRIX_USER:-null}" = null ]; then
|
if [ "${PLUGIN_MATRIX_USER:-null}" = null ]; then
|
||||||
echo "No matrix username provided";
|
echo "No matrix username provided";
|
||||||
exit 3;
|
exit 3;
|
||||||
@ -83,4 +86,5 @@ if [ "${PLUGIN_MATRIX_SERVER:+set}" = set ]; then
|
|||||||
\"format\": \"org.matrix.custom.html\",
|
\"format\": \"org.matrix.custom.html\",
|
||||||
\"formatted_body\": \"$FORMATTED_CHANGES\"
|
\"formatted_body\": \"$FORMATTED_CHANGES\"
|
||||||
}"
|
}"
|
||||||
|
echo "Notification sent";
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user