-
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. (#8994)
With this change, running `builder version` on binaries installed with `go install` will output the version specified at the suffix. If it's under development, the following output will be obtained. ``` $ GO111MODULE=on CGO_ENABLED=0 go run . version ocb version (devel) ``` **Link to tracking Issue:** #8770 --------- Co-authored-by: Bogdan Drutu <[email protected]>
- Loading branch information
1 parent
7c58e71
commit b0f618e
Showing
2 changed files
with
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
change_type: enhancement | ||
|
||
component: cmd/builder | ||
|
||
note: "running builder version on binaries installed with `go install` will output the version specified at the suffix." | ||
|
||
issues: [8770] | ||
|
||
subtext: | ||
|
||
change_logs: [user] |
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