add cryptid.gay

This commit is contained in:
Dessa Simpson 2023-12-15 15:29:42 -07:00
parent e013a4f4ea
commit 72cd01e85e
4 changed files with 24 additions and 24 deletions

View file

@ -3,6 +3,7 @@ set -e
function checkFile() {
[[ "$1" =~ \.zone$ ]] || return 0
[[ -f "$1" ]] || return 0 # allow deleting zone
old="$(git show HEAD:"$1"|grep -Po '\d+(?=\s+; serial)')"
new="$(git show :"$1"|grep -Po '\d+(?=\s+; serial)')"
[[ "$old" -lt "$new" ]] && return 0 || { echo "serial bump check failed for $1"; return 1; }