Skip to content

Commit 2cd99eb

Browse files
bnoordhuisaddaleax
authored andcommitted
build: add REPLACEME tag for version info in docs
Add a `REPLACEME` tag that should be used when introducing docs for new features, so that they can be updated when releases are made. Ref: #6578 PR-URL: #6864 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent f44b18f commit 2cd99eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,10 @@ PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacO
439439
PKGDIR=out/dist-osx
440440

441441
release-only:
442+
@if `grep -q REPLACEME doc/api/*.md`; then \
443+
echo 'Please update Added: tags in the documentation first.' ; \
444+
exit 1 ; \
445+
fi
442446
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \
443447
exit 0 ; \
444448
else \

0 commit comments

Comments
 (0)