mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
fix makefile syntax
This commit is contained in:
parent
da8b15d817
commit
a07a529559
4
Makefile
4
Makefile
|
@ -126,8 +126,8 @@ pkg/version/version.go: .FORCE
|
||||||
bash utils/generate-version-file.sh > $@
|
bash utils/generate-version-file.sh > $@
|
||||||
git commit $@ -m "bump version to $(VERSION)" || true
|
git commit $@ -m "bump version to $(VERSION)" || true
|
||||||
|
|
||||||
version: pkg/version/version.go
|
version: pkg/version/version.go migrations
|
||||||
@[[ ! -e doc/release/$(VERSION).md ]] && echo "file doc/release/$(VERSION).md does not exist" && exit 1
|
[[ -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 add -v doc/release/$(VERSION).md && git commit doc/release/$(VERSION).md -m "add release note" || true
|
||||||
git tag -f $(VERSION)
|
git tag -f $(VERSION)
|
||||||
git push origin $(VERSION)
|
git push origin $(VERSION)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user