mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
fix makefile
This commit is contained in:
parent
e4c8db8287
commit
1f1ee7b986
4
Makefile
4
Makefile
|
@ -129,14 +129,16 @@ pkg/version/dev.go: .FORCE
|
||||||
BUILD_FLAGS="!release" VERSION_SUFFIX="-dev" bash utils/generate-version-file.sh > $@
|
BUILD_FLAGS="!release" VERSION_SUFFIX="-dev" bash utils/generate-version-file.sh > $@
|
||||||
|
|
||||||
dev-version: pkg/version/dev.go
|
dev-version: pkg/version/dev.go
|
||||||
|
git add $<
|
||||||
git commit $< -m "update dev build version"
|
git commit $< -m "update dev build version"
|
||||||
|
|
||||||
cmd-doc: .FORCE
|
cmd-doc: .FORCE
|
||||||
go run ./cmd/update-doc
|
go run ./cmd/update-doc
|
||||||
git add -v doc/commands
|
git add -v doc/commands
|
||||||
git commit -m "update command doc files" doc/commands
|
git commit -m "update command doc files" doc/commands || true
|
||||||
|
|
||||||
version: pkg/version/version.go pkg/version/dev.go migrations cmd-doc
|
version: pkg/version/version.go pkg/version/dev.go migrations cmd-doc
|
||||||
|
git add $< $(word 2,$^)
|
||||||
git commit $< $(word 2,$^) -m "bump version to $(VERSION)" || true
|
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 $(VERSION) release note" || true
|
git add -v doc/release/$(VERSION).md && git commit doc/release/$(VERSION).md -m "add $(VERSION) release note" || true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
package version
|
package version
|
||||||
|
|
||||||
const Version = "v1.28.0-fdfe6bc5-dev"
|
const Version = "v1.28.0-e4c8db82-dev"
|
||||||
|
|
||||||
const VersionGitRef = "fdfe6bc5"
|
const VersionGitRef = "e4c8db82"
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
package version
|
package version
|
||||||
|
|
||||||
const Version = "v1.28.0-fdfe6bc5"
|
const Version = "v1.28.0-e4c8db82"
|
||||||
|
|
||||||
const VersionGitRef = "fdfe6bc5"
|
const VersionGitRef = "e4c8db82"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user