summaryrefslogtreecommitdiff
path: root/.gitlab/linters/check-changelogs.sh
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/linters/check-changelogs.sh')
-rwxr-xr-x.gitlab/linters/check-changelogs.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/linters/check-changelogs.sh b/.gitlab/linters/check-changelogs.sh
index 0a0b6328b9..56ac187a90 100755
--- a/.gitlab/linters/check-changelogs.sh
+++ b/.gitlab/linters/check-changelogs.sh
@@ -9,6 +9,8 @@ COLOR_NONE="\e[0m"
grep TBA libraries/*/changelog.md && (
echo -e "${COLOR_RED}Error: Found \"TBA\"s in changelogs.${COLOR_NONE}"
exit 1
+) || (
+ echo -e "${COLOR_GREEN}changelogs look okay.${COLOR_NONE}"
+ exit 0
)
-echo -e "${COLOR_GREEN}changelogs look okay.${COLOR_NONE}"