add cryptid.gay
This commit is contained in:
parent
e013a4f4ea
commit
72cd01e85e
4 changed files with 24 additions and 24 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue