summaryrefslogtreecommitdiff
path: root/.gitlab/linters/check-changelogs.sh
blob: 0a0b6328b9416110b5427c6e7a1ce1c43e695c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -e

COLOR_RED="\e[31m"
COLOR_GREEN="\e[32m"
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}"