Skip to content

Conversation

@hwdef
Copy link
Contributor

@hwdef hwdef commented Oct 21, 2025

  1. Add build command for augerctl
  2. add version,commit and builddate for binary

before:

$ ./build/auger version
Version:        v0.0.0-dev
BuildTime:      1970-01-01T00:00:00Z
GitCommit:
GoVersion:      go1.25.3
Compiler:       gc
OS/Arch:        darwin/arm64

after:

$ ./build/auger version
Version:        v1.0.3-316-gebb2e6a-dirty
BuildTime:      2025-10-21T03:19:44Z
GitCommit:      ebb2e6a
GoVersion:      go1.25.3
Compiler:       gc
OS/Arch:        darwin/arm64

@hwdef
Copy link
Contributor Author

hwdef commented Oct 21, 2025

cc @siyuanfoundation

Copy link
Member

@jmhbnz jmhbnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @hwdef thanks for fixing this, lgtm.

Output on my side looks much nicer after this patch:

 james  ~  Documents  auger   main                                                                                                                             last: 0m 0s  11:38:54 
 ➜ ./build/auger version                                                                                                                                                                     
Version:        v1.0.3-317-g75ed1e5                                                                                                                                                          
BuildTime:      2025-10-21T22:36:09Z                                                                                                                                                         
GitCommit:      75ed1e5                                                                                                                                                                      
GoVersion:      go1.25.3                                                                                                                                                                     
Compiler:       gc                                                                                                                                                                           
OS/Arch:        linux/amd64 

@siyuanfoundation
Copy link
Contributor

Nice work!
Thank you @hwdef !

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hwdef, jmhbnz, siyuanfoundation

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [jmhbnz,siyuanfoundation]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@siyuanfoundation siyuanfoundation merged commit 65f08aa into etcd-io:main Oct 24, 2025
3 checks passed
@hwdef hwdef deleted the fix-build branch October 25, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants