-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(builder): change output of
version
subcommand.
If version information has not been inserted by `ldflags`, the build information embedded in the binary being executed is output. Return an error when failing to retrieve the version, and to use cobra's `RunE`.
- Loading branch information
Takumi Katase
committed
Nov 28, 2023
1 parent
4966509
commit d0953f9
Showing
1 changed file
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters