mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
should also update the dev version file
This commit is contained in:
parent
6482b13edc
commit
a37efb453d
7
Makefile
7
Makefile
|
@ -124,9 +124,12 @@ 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 > $@
|
||||||
git commit $@ -m "bump version to $(VERSION)" || true
|
|
||||||
|
|
||||||
version: pkg/version/version.go migrations
|
pkg/version/dev.go: .FORCE
|
||||||
|
VERSION_SUFFIX="-dev" bash utils/generate-version-file.sh > $@
|
||||||
|
|
||||||
|
version: pkg/version/version.go pkg/version/dev.go migrations
|
||||||
|
git commit $< $(word 2,$^) -m "bump version to $(VERSION)" || true
|
||||||
[[ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user