diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-12-06 14:13:31 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-12-10 19:55:37 -0500 |
commit | 2f6b434fc96b1f48315e103f4a77fecc2da89471 (patch) | |
tree | bc8c617ad9c2b5efad40fd00fb144d4ae800703b /.gitlab/linters | |
parent | 436ec9f3b31f9bc7ccf8c685afcda9fc424e45e9 (diff) | |
download | haskell-2f6b434fc96b1f48315e103f4a77fecc2da89471.tar.gz |
gitlab-ci: Move changelog linting logic to shell script
Allowing it to be easily used locally.
Diffstat (limited to '.gitlab/linters')
-rwxr-xr-x | .gitlab/linters/check-changelogs.sh | 4 |
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}" |