check release note in the Makefile

This commit is contained in:
c9s 2021-12-07 15:40:36 +08:00
parent 1de4e5ee4c
commit 6f5074f610

View File

@ -124,6 +124,7 @@ dist: static dist-bbgo-linux dist-bbgo-darwin desktop
pkg/version/version.go: .FORCE pkg/version/version.go: .FORCE
bash utils/generate-version-file.sh > $@ bash utils/generate-version-file.sh > $@
[[ ! -e doc/release/$(VERSION).md ]] && echo "file doc/release/$(VERSION).md does not exist" && exit 1
version: pkg/version/version.go migrations version: pkg/version/version.go migrations
git commit $< -m "bump version to $(VERSION)" || true git commit $< -m "bump version to $(VERSION)" || true