Skip to content
Snippets Groups Projects
  • JacksonXie's avatar
    modify Makefile with GOLDFALGS params to show version info (#5573) · 236d31fc
    JacksonXie authored
    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
    Unverified
    236d31fc
.dockerignore 280 B