From a07a529559b1145a7400bfd85b6b6c98aa776410 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 7 Dec 2021 16:16:34 +0800 Subject: [PATCH] fix makefile syntax --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 95bdb395b..014888b05 100644 --- a/Makefile +++ b/Makefile @@ -126,8 +126,8 @@ pkg/version/version.go: .FORCE bash utils/generate-version-file.sh > $@ git commit $@ -m "bump version to $(VERSION)" || true -version: pkg/version/version.go - @[[ ! -e doc/release/$(VERSION).md ]] && echo "file doc/release/$(VERSION).md does not exist" && exit 1 +version: pkg/version/version.go migrations + [[ -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) git push origin $(VERSION)