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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 5dc293d commit 6ff8e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
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)