release.sh: abort if FIXMEs remain (but overlook *.debcargo.hint and changelog)
Ximin Luo
5 years ago
7 | 7 | |
8 | 8 | if test ! -f "$PKGDIR_REL/debian/changelog"; then |
9 | 9 | abort 1 "Cannot find $PKGDIR_REL/debian/changelog. Did you run ./new-package.sh before?" |
10 | fi | |
11 | ||
12 | if git grep FIXME -- "$PKGDIR_REL" :^"$PKGDIR_REL/debian/*.debcargo.hint" :^"$PKGDIR_REL/debian/changelog"; then | |
13 | abort 1 "FIXMEs remain in $PKGDIR_REL, fix and commit those first." | |
10 | 14 | fi |
11 | 15 | |
12 | 16 | git diff --quiet --cached || \ |