Skip to content

Commit

Permalink
fix makefile syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 7, 2021
1 parent da8b15d commit a07a529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a07a529

Please sign in to comment.