Skip to content
Snippets Groups Projects
Unverified Commit 236d31fc authored by JacksonXie's avatar JacksonXie Committed by GitHub
Browse files

modify Makefile with GOLDFALGS params to show version info (#5573)

modify `GOLDFLAGS` params in `Makefile`, then `mo-service --version` can show missing info: `commit id` and `version`
like:
```
MatrixOne build info:
The golang version used to build this binary: go version go1.19 linux/arm64
Git branch name: show_version
Git commit ID: fdd2355ab63e1a3bb009cc96fad9dd4dd6ff2ac9
Buildtime: Wed Oct 12 15:07:30 CST 2022
Version: v0.5.1
```

Approved by: @fengttt, @zhangxu19830126
parent 04ab038b
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment