mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
makefile: append || expr to git add
This commit is contained in:
parent
68b1d9e8c8
commit
17b8be786c
2
Makefile
2
Makefile
|
@ -127,7 +127,7 @@ pkg/version/version.go: .FORCE
|
|||
|
||||
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 add -v doc/release/$(VERSION).md || true
|
||||
git commit $< -m "bump version to $(VERSION)" || true
|
||||
git tag -f $(VERSION)
|
||||
git push origin $(VERSION)
|
||||
|
|
Loading…
Reference in New Issue
Block a user