diff --git a/Makefile b/Makefile index d06d422c0..95bdb395b 100644 --- a/Makefile +++ b/Makefile @@ -126,7 +126,7 @@ pkg/version/version.go: .FORCE bash utils/generate-version-file.sh > $@ git commit $@ -m "bump version to $(VERSION)" || true -version: pkg/version/version.go migrations +version: pkg/version/version.go @[[ ! -e doc/release/$(VERSION).md ]] && echo "file doc/release/$(VERSION).md does not exist" && exit 1 git add -v doc/release/$(VERSION).md && git commit doc/release/$(VERSION).md -m "add release note" || true git tag -f $(VERSION)