diff --git a/Makefile b/Makefile index 66237b3..814b936 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,5 @@ db: ## start the test database db-down: ## stop and delete the test database podman compose rm -sf db -release: ## release VERSION, once CHANGES.md names it: open-opam tags it and makes its release - @test -n "$(VERSION)" || { echo "Give the version: make release VERSION=1.2.3" >&2; exit 2; } - @test "$$(git show HEAD:CHANGES.md | grep -m1 '^## ')" = "## $(VERSION) ($$(date +%F))" \ - || { echo "The commit to release must open CHANGES.md with ## $(VERSION) ($$(date +%F))" >&2; exit 2; } +release: ## tag VERSION and make its release open-opam release $(VERSION)