Commit 9ed95740 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

gitlab-ci: Move changelog linting logic to shell script

Allowing it to be easily used locally.
parent 2037e286
......@@ -100,11 +100,7 @@ lint-submods-mr:
tags:
- lint
script:
- |
grep TBA libraries/*/changelog.md && (
echo "Error: Found \"TBA\"s in changelogs."
exit 1
)
- bash .gitlab/linters/check-changelogs.sh
lint-changelogs:
extends: .lint-changelogs
......
#!/usr/bin/env bash
set -e
grep TBA libraries/*/changelog.md && (
echo "Error: Found \"TBA\"s in changelogs."
exit 1
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment