X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=db13b68a58cfa03675409f252ada6b163b01c46d;hb=719bae09cce5093d96acdf4ec04658d37fea3337;hp=c50b971c9a6897ffcb5a0a4905876619e6cd027a;hpb=73cfb31233ab2d1e1e86ab187b2bd1aa0f33ce7e;p=nepi.git diff --git a/Makefile b/Makefile index c50b971c..db13b68a 100644 --- a/Makefile +++ b/Makefile @@ -110,6 +110,7 @@ endef pypi: version @if [ $(GIT-CHANGES) != 0 ]; then echo "You have uncommitted changes - cannot publish"; false; fi @if [ -n "$(GIT-TAG-ALREADY-SET)" ] ; then echo "tag $(VERSIONTAG) already set"; false; fi + @if ! grep -q ' $(VERSION)' CHANGELOG.md ; then echo no mention of $(VERSION) in CHANGELOG.md; false; fi @echo "You are about to release $(VERSION) - OK (Ctrl-c if not) ? " ; read _ git tag $(VERSIONTAG) $(call upload_pypi,pypi)