Skip to content

Commit

Permalink
Add check on CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgiraud committed Apr 26, 2023
1 parent a8457ac commit 556b9c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ README.md: doc/generated/md/readme.md
.PHONY: update-version
update-version:
[[ "$(VERSION)" == "$(FILE_VERSION)" ]] && echo "Change version number! (make update-version VERSION=X.Y.Z)" && exit 1
! grep -Eq "^## ${VERSION}\b" CHANGELOG.md && echo "No information about this version in CHANGELOG.md. Add an entry in CHANGELOG.md!" && exit 1
@echo "Modify version in doc/VERSION"
@echo "$(VERSION)" > doc/VERSION
make update-doc
Expand Down

0 comments on commit 556b9c9

Please sign in to comment.