Skip to content

Commit 6ff8e80

Browse files
BridgeARMylesBorins
authored andcommitted
build: check for different deprecation signatures
Right now we strictly test for `DEP00XX`. We are already above that number of deprecations and it is better to have a wildcard for the first three numbers. Only the last character has to match the X to print a warning. PR-URL: #20384 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 5dc293d commit 6ff8e80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,8 @@ release-only:
813813
exit 1 ;\
814814
fi
815815
@if [ "$(DISTTYPE)"!="nightly" ] && [ "$(DISTTYPE)"!="next-nightly" ] &&\
816-
`grep -q DEP00XX doc/api/deprecations.md`;then\
817-
echo'Please update DEP00XX in doc/api/deprecations.md (See doc/releases.md)';\
816+
`grep -q DEP...X doc/api/deprecations.md`;then\
817+
echo'Please update DEP...X in doc/api/deprecations.md (See doc/releases.md)';\
818818
exit 1 ;\
819819
fi
820820
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')"="" ];then\

0 commit comments

Comments
 (0)