Skip to content

Commit 927077f

Browse files
authored
feat: make readme-check exit with error if readme not up to date (#68)
1 parent 5c8188b commit 927077f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ readme-check: ## Check if README is up to date
282282
@if ! diff -q README.md README.md.backup > /dev/null; then \
283283
echo "$(call color_yellow,README is out of date. Run 'make readme' to update.)"; \
284284
mv README.md.backup README.md; \
285+
exit 1; \
285286
else \
286287
echo "$(call color_green,README is up to date.)"; \
287288
rm README.md.backup; \

0 commit comments

Comments
 (0)