diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-12-06 14:13:31 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-12-06 16:03:34 -0500 |
commit | 7b4f9c3e986d783085855cacd602fcc1c274569d (patch) | |
tree | ced9faa28df85017a5b17f3d8bb42a8c67d574fd | |
parent | 027df047818e4e871c79368f7d639d7473a97536 (diff) | |
download | haskell-wip/changelog-linting.tar.gz |
gitlab-ci: Move changelog linting logic to shell scriptwip/changelog-linting
Allowing it to be easily used locally.
-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}" |