a bunch of missing then
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-10 19:35:37 +02:00
parent a596dc25cc
commit c1f43d98b3

View File

@@ -11,11 +11,11 @@ FORMATTED_CHANGES=$(echo "# $CURRENTTAG \n $ALLCHANGES" | pandoc -f markdown -t
echo $PLUGIN_GITEA_DOMAIN; echo $PLUGIN_GITEA_DOMAIN;
if [[ "${PLUGIN_GITEA_DOMAIN:-}" == "true" ]]; then if [[ "${PLUGIN_GITEA_DOMAIN:-}" == "true" ]]; then
if [[ -n "${PLUGIN_GITEA_APIKEY:-}"]] if [[ -n "${PLUGIN_GITEA_APIKEY:-}"]]; then
echo "No api key provided"; echo "No api key provided";
exit 1; exit 1;
fi fi
if [[ -n "${PLUGIN_REPO:-}"]] if [[ -n "${PLUGIN_REPO:-}"]]; then
echo "No repo provided"; echo "No repo provided";
exit 2; exit 2;
fi fi
@@ -32,15 +32,15 @@ if [[ "${PLUGIN_GITEA_DOMAIN:-}" == "true" ]]; then
}" }"
fi fi
if [[ "${PLUGIN_MATRIX_SERVER:-}" == "true" ]]; then if [[ "${PLUGIN_MATRIX_SERVER:-}" == "true" ]]; then
if [[ -n "${PLUGIN_MATRIX_USER:-}"]] if [[ -n "${PLUGIN_MATRIX_USER:-}"]]; then
echo "No matrix username provided"; echo "No matrix username provided";
exit 3; exit 3;
fi fi
if [[ -n "${PLUGIN_MATRIX_PASSWORD:-}"]] if [[ -n "${PLUGIN_MATRIX_PASSWORD:-}"]]; then
echo "No matrix password provided"; echo "No matrix password provided";
exit 4; exit 4;
fi fi
if [[ -n "${PLUGIN_MATRIX_ROOM:-}"]] if [[ -n "${PLUGIN_MATRIX_ROOM:-}"]]; then
echo "No matrix room id provided"; echo "No matrix room id provided";
exit 4; exit 4;
fi fi