Skip to content

Commit 8a7c5fd

Browse files
bnoordhuisMyles Borins
authored and
Myles Borins
committed
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 d50f169 commit 8a7c5fd

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
@@ -425,6 +425,10 @@ PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacO
425425
PKGDIR=out/dist-osx
426426

427427
release-only:
428+
@if `grep -q REPLACEME doc/api/*.md`; then \
429+
echo 'Please update Added: tags in the documentation first.' ; \
430+
exit 1 ; \
431+
fi
428432
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \
429433
exit 0 ; \
430434
else \

0 commit comments

Comments
 (0)